class RequiresOverride extends Logic implements ErrorThe soft version of an abstract method. An action can only be realized in the child. But this action is not so important to make abstract class and make everyone implement it.
class MyClass
{
public function notNecessaryFeature()
{
throw new RequiresOverride();
}
}The functional object is trimmed, but it remains a working.
$method- the method name or TRUE (by default) - use the last method from the stack trace.
getMethod():string