/** * Get target by controller class name * * @return string */ protected static function getTargetByClassName() { $parts = explode('\\', get_called_class()); return \Includes\Utils\Converter::convertFromCamelCase(lcfirst(array_pop($parts))); }
/** * Get target by controller class name * * @return string */ protected static function getTargetByClassName() { $parts = explode('\\', get_called_class()); return \Includes\Utils\Converter::convertFromCamelCase(lcfirst(array_pop($parts))); }