News for hackers. Stuff that matters.
Re:PHP 8 by deergomoo on Thursday November 26, 2020 @06:34PM (#25224336)
To be fair, Laravel’s facades look like static method calls, but they’re actually not. They’re backed by the service container and can be swapped out for mocks etc just as easily as injected dependencies. They’re also totally optional, and in general are falling out of fashion within the community.

There are no comments on this comment yet.