src/Traits/ComplementAction.php
private function addActions()
    {
        if (isset($this->complement['hooks'])) {
            Hook::getInstance(App::getCurrentID());

            return Hook::addActions($this->complement['hooks']);
        }

        return false;
    }
private function addActions()
    {
        if (isset($this->complement['hooks'])) {
            Hook::getInstance(App::getCurrentID());

            return Hook::addActions($this->complement['hooks']);
        }

        return false;
    }
private function addActions ( ) { if ( isset ( $ this -> complement [ 'hooks' ] ) ) { Hook :: getInstance ( App :: getCurrentID ( ) ) ; return Hook :: addActions ( $ this -> complement [ 'hooks' ] ) ; } return false ; }
Add complement action hooks.

@uses \Eliasis\Framework\App::getCurrentID()
@uses \Eliasis\Complement\Complement->$complement
@uses \Josantonius\Hook\Hook::getInstance
@uses \Josantonius\Hook\Hook::addActions
Add complement action hooks .