src/Loader.php
public function run(): void
    {
        foreach ($this->hooks as $hook) {
            $hook->setContainer($this->container);
            $hook->register();
        }
    }
public function run(): void
    {
        foreach ($this->hooks as $hook) {
            $hook->setContainer($this->container);
            $hook->register();
        }
    }
public function run ( ) : void { foreach ( $ this -> hooks as $ hook ) { $ hook -> setContainer ( $ this -> container ) ; $ hook -> register ( ) ; } }
Register the hooks to the container and WordPress.

@return void
Register the hooks to the container and WordPress .