Late Static Binding
gives us ability to call child class method from parent class. In this example
who()
method of child class will be called from parent class
test()
method
class A {
    public static function who() {
        echo __CLASS__;
    }
    public static function test() {
        static::who(); // Here comes Late Static Bindings
    }
}

class B extends A {
    public static function who() {
        echo __CLASS__;
    }
}

B::test();
Another example of late static binding: parent class uses child class property -
tableName
class Model
{
	protected static $tableName = 'Model';

	public static function getTableName()
	{
		return static::$tableName;
	}
}

class User extends Model
{
	protected static $tableName = 'User';
}

echo User::getTableName(); // User
by Valeri Tandilashvili
4 years ago
PHP
OOP
PHP official doc
1
Pro tip: use ```triple backticks around text``` to write in code fences