private function loadAppTask(array $task)
    {
        //if task name contains more than 2 parts then it comes from module
        if (count($task) > 2) {
            $moduleName = ucfirst($task[1]);
            $taskName = ucfirst($task[2]);
            $taskName = $this->loadAppModuleTask($moduleName, $taskName);
        } else {
            $taskName = ucfirst($task[1]);
        }

        return $taskName;
    }
private function loadAppTask(array $task)
    {
        //if task name contains more than 2 parts then it comes from module
        if (count($task) > 2) {
            $moduleName = ucfirst($task[1]);
            $taskName = ucfirst($task[2]);
            $taskName = $this->loadAppModuleTask($moduleName, $taskName);
        } else {
            $taskName = ucfirst($task[1]);
        }

        return $taskName;
    }
private function loadAppTask ( array $ task ) { //if task name contains more than 2 parts then it comes from module if ( count ( $ task ) > 2 ) { $ moduleName = ucfirst ( $ task [ 1 ] ) ; $ taskName = ucfirst ( $ task [ 2 ] ) ; $ taskName = $ this -> loadAppModuleTask ( $ moduleName , $ taskName ) ; } else { $ taskName = ucfirst ( $ task [ 1 ] ) ; } return $ taskName ; }
Loads task from application directory

@param array $task
@return string
@internal
Loads task from application directory