PHP OOP-Final Keyword
In PHP, we can’t declare variables as Final. Only classes and class methods are allowed to use the Final keyword. If we define a class method as Final, the child class will not be able to override that method of the parent class. Similarly to methods, declaring a class as Final prevents it from being expanded.