Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Isn't the exception class automatically implementing the stringable interface? #2710

Closed
mumbomedia opened this issue Aug 25, 2023 · 1 comment

Comments

@mumbomedia
Copy link

From manual page: https://php.net/class.exception


Since the exception class implements a __toString method it imho implements automatically the stringable interface.
Should be mentioned for the sake of completeness.

@TimWolla TimWolla transferred this issue from php/doc-de Aug 25, 2023
@Girgias
Copy link
Member

Girgias commented Aug 30, 2023

The Throwable interface already extends Stringable.

@Girgias Girgias closed this as completed Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants