public function hooks()
    {
        $this->hook->action(
            'init',
            [$this->taxonomy, 'register']
        )->dispatch();

        $this->hook->action(
            "{$this->taxonomy->getModel()->getSlug()}_add_form_fields",
            [$this->taxonomy, 'fill']
        )->dispatch();

        $this->hook->action(
            "{$this->taxonomy->getModel()->getSlug()}_edit_form_fields",
            [$this->taxonomy, 'fill']
        )->dispatch();

        $this->hook->action(
            "created_{$this->taxonomy->getModel()->getSlug()}",
            [$this->taxonomy, 'save']
        )->dispatch();

        $this->hook->action(
            "edited_{$this->taxonomy->getModel()->getSlug()}",
            [$this->taxonomy, 'save']
        )->dispatch();
    }
public function hooks()
    {
        $this->hook->action(
            'init',
            [$this->taxonomy, 'register']
        )->dispatch();

        $this->hook->action(
            "{$this->taxonomy->getModel()->getSlug()}_add_form_fields",
            [$this->taxonomy, 'fill']
        )->dispatch();

        $this->hook->action(
            "{$this->taxonomy->getModel()->getSlug()}_edit_form_fields",
            [$this->taxonomy, 'fill']
        )->dispatch();

        $this->hook->action(
            "created_{$this->taxonomy->getModel()->getSlug()}",
            [$this->taxonomy, 'save']
        )->dispatch();

        $this->hook->action(
            "edited_{$this->taxonomy->getModel()->getSlug()}",
            [$this->taxonomy, 'save']
        )->dispatch();
    }
public function hooks ( ) { $ this -> hook -> action ( 'init' , [ $ this -> taxonomy , 'register' ] ) -> dispatch ( ) ; $ this -> hook -> action ( "{$this->taxonomy->getModel()->getSlug()}_add_form_fields" , [ $ this -> taxonomy , 'fill' ] ) -> dispatch ( ) ; $ this -> hook -> action ( "{$this->taxonomy->getModel()->getSlug()}_edit_form_fields" , [ $ this -> taxonomy , 'fill' ] ) -> dispatch ( ) ; $ this -> hook -> action ( "created_{$this->taxonomy->getModel()->getSlug()}" , [ $ this -> taxonomy , 'save' ] ) -> dispatch ( ) ; $ this -> hook -> action ( "edited_{$this->taxonomy->getModel()->getSlug()}" , [ $ this -> taxonomy , 'save' ] ) -> dispatch ( ) ; }
Register taxonomy hooks.

@return void
Register taxonomy hooks .