protected extractSimpleClassName ( string $className ) : string | ||
$className | string | The class name from where to extract the simple class name. |
return | string | The config path. |
protected function extractSimpleClassName($className)
{
Validation::notEmpty($className, 'className');
$pos = strrpos($className, '\\');
if ($pos !== false) {
return substr($className, $pos + 1);
}
return $className;
}