Transform.php
public static function getControllerName($qualifiedControllerName)
    {
        $nsComponents = explode('\\', $qualifiedControllerName);
        $ctrlName = str_replace('Controller', '', end($nsComponents));

        return $ctrlName;
    }
public static function getControllerName($qualifiedControllerName)
    {
        $nsComponents = explode('\\', $qualifiedControllerName);
        $ctrlName = str_replace('Controller', '', end($nsComponents));

        return $ctrlName;
    }
public static function getControllerName ( $ qualifiedControllerName ) { $ nsComponents = explode ( '\\' , $ qualifiedControllerName ) ; $ ctrlName = str_replace ( 'Controller' , '' , end ( $ nsComponents ) ) ; return $ ctrlName ; }
Get the controller name from a full qualified class name
@param $qualifiedControllerName
@return mixed
Get the controller name from a full qualified class name