public function defaultRoute($controller, $action = null, array $args = [])
    {
        $this->_defaultRoute = [
            'route' => implode('/', [$this->module->id, $controller, (empty($action)) ? 'index' : $action]),
            'args' => $args,
            'originalArgs' => $args,
        ];
    }
public function defaultRoute($controller, $action = null, array $args = [])
    {
        $this->_defaultRoute = [
            'route' => implode('/', [$this->module->id, $controller, (empty($action)) ? 'index' : $action]),
            'args' => $args,
            'originalArgs' => $args,
        ];
    }
public function defaultRoute ( $ controller , $ action = null , array $ args = [ ] ) { $ this -> _defaultRoute = [ 'route' => implode ( '/' , [ $ this -> module -> id , $ controller , ( empty ( $ action ) ) ? 'index' : $ action ] ) , 'args' => $ args , 'originalArgs' => $ args , ] ; }
Inject a defaultRoute.

@param string $controller
@param string $action
@param array $args
Inject a defaultRoute .