public function dispatchTo($action)
    {
        $this->setAction($action);

        $this->hook->action(
            'init',
            [$this, 'hooks']
        )->dispatch();

        return $this;
    }
public function dispatchTo($action)
    {
        $this->setAction($action);

        $this->hook->action(
            'init',
            [$this, 'hooks']
        )->dispatch();

        return $this;
    }
public function dispatchTo ( $ action ) { $ this -> setAction ( $ action ) ; $ this -> hook -> action ( 'init' , [ $ this , 'hooks' ] ) -> dispatch ( ) ; return $ this ; }
Dispach asset to action handler.

@param  string $action

@return self
Dispach asset to action handler .