public function uses($action)
    {
        $action = is_string($action) ? $this->addGroupNamespaceToStringUses($action) : $action;

        return $this->setAction(array_merge($this->action, $this->parseAction([
            'uses' => $action,
            'controller' => $action,
        ])));
    }
public function uses($action)
    {
        $action = is_string($action) ? $this->addGroupNamespaceToStringUses($action) : $action;

        return $this->setAction(array_merge($this->action, $this->parseAction([
            'uses' => $action,
            'controller' => $action,
        ])));
    }
public function uses ( $ action ) { $ action = is_string ( $ action ) ? $ this -> addGroupNamespaceToStringUses ( $ action ) : $ action ; return $ this -> setAction ( array_merge ( $ this -> action , $ this -> parseAction ( [ 'uses' => $ action , 'controller' => $ action , ] ) ) ) ; }
Set the handler for the route.

@param  \Closure|string  $action
@return $this
Set the handler for the route .