src/Core/HooksRepository.php
public function load(array $hooks)
    {
        if (empty($hooks)) {
            return;
        }

        foreach ($hooks as $hook) {
            $this->app->registerHook($hook);
        }
    }
public function load(array $hooks)
    {
        if (empty($hooks)) {
            return;
        }

        foreach ($hooks as $hook) {
            $this->app->registerHook($hook);
        }
    }
public function load ( array $ hooks ) { if ( empty ( $ hooks ) ) { return ; } foreach ( $ hooks as $ hook ) { $ this -> app -> registerHook ( $ hook ) ; } }
Load a list of registered hookable instances.

@param array $hooks The list of hookable instances.
Load a list of registered hookable instances .