Ouzo\AutoloadNamespaces::getControllerNamespace PHP Method

getControllerNamespace() public static method

public static getControllerNamespace ( )
    public static function getControllerNamespace()
    {
        $controllerPath = Config::getValue('namespace', 'controller');
        return $controllerPath ? Arrays::toArray($controllerPath) : array("\\Application\\Controller\\");
    }

Usage Example

Exemplo n.º 1
0
 public function __construct()
 {
     $this->controllerNamespaces = AutoloadNamespaces::getControllerNamespace();
 }
All Usage Examples Of Ouzo\AutoloadNamespaces::getControllerNamespace