public function hooks()
    {
        $this->hook->action(
            $this->isAllowedArea($this->getArea()),
            [$this, 'handleAction']
        )->dispatch();

        if (! empty($this->getArgument('execution'))) {
            $this->hook->filter(
                'script_loader_tag',
                [$this, 'addExecutionTypes']
            )->dispatch();
        }
    }
public function hooks()
    {
        $this->hook->action(
            $this->isAllowedArea($this->getArea()),
            [$this, 'handleAction']
        )->dispatch();

        if (! empty($this->getArgument('execution'))) {
            $this->hook->filter(
                'script_loader_tag',
                [$this, 'addExecutionTypes']
            )->dispatch();
        }
    }
public function hooks ( ) { $ this -> hook -> action ( $ this -> isAllowedArea ( $ this -> getArea ( ) ) , [ $ this , 'handleAction' ] ) -> dispatch ( ) ; if ( ! empty ( $ this -> getArgument ( 'execution' ) ) ) { $ this -> hook -> filter ( 'script_loader_tag' , [ $ this , 'addExecutionTypes' ] ) -> dispatch ( ) ; } }
Register asset hooks.

@return void
Register asset hooks .