original_string: private function doActions($action)
      {
          $type = self::getType('strtolower', false);
  
          Hook::getInstance(App::getCurrentID());
          Hook::doAction($type . '-load');
          Hook::doAction('after-loading-' . $this->complement['slug'] . '-' . $type);
  
          if (in_array($action, self::$hooks, true)) {
              $this->doAction($action);
          }
      }
code: private function doActions($action)
      {
          $type = self::getType('strtolower', false);
  
          Hook::getInstance(App::getCurrentID());
          Hook::doAction($type . '-load');
          Hook::doAction('after-loading-' . $this->complement['slug'] . '-' . $type);
  
          if (in_array($action, self::$hooks, true)) {
              $this->doAction($action);
          }
      }
code_tokens: private function doActions ( $ action ) { $ type = self :: getType ( 'strtolower' , false ) ; Hook :: getInstance ( App :: getCurrentID ( ) ) ; Hook :: doAction ( $ type . '-load' ) ; Hook :: doAction ( 'after-loading-' . $ this -> complement [ 'slug' ] . '-' . $ type ) ; if ( in_array ( $ action , self :: $ hooks , true ) ) { $ this -> doAction ( $ action ) ; } }
docstring: Execute action hooks.
  
  @param string $action → action hook to execute
  
  @uses \Eliasis\Framework\App::getCurrentID()
  @uses \Josantonius\Hook\Hook::getInstance
  @uses \Josantonius\Hook\Hook::doAction
  @uses \Eliasis\Complement\Traits\ComplementHandler::getType()
docstring_tokens: Execute action hooks .