1 | <?php |
||
19 | final class SymfonyFramework |
||
20 | { |
||
21 | public static function getContainerResolvableRootWebPath(): string |
||
25 | |||
26 | public static function isKernelGreaterThanOrEqualTo(int $major, int $minor = null, int $patch = null): bool |
||
30 | |||
31 | public static function isKernelLessThan(int $major, int $minor = null, int $patch = null): bool |
||
35 | |||
36 | private static function kernelVersionCompare(string $operator, int $major, int $minor = null, int $patch = null): bool |
||
40 | } |
||
41 |
Late static binding only has effect in subclasses. A
final
class cannot be extended anymore so late static binding cannot occurr. Consider replacingstatic::
withself::
.To learn more about late static binding, please refer to the PHP core documentation.