src/Hooks/Action.php
public function run(...$args): void
    {
        $container = $this->getContainer();
        $instance = $container->get($this->classIdentifier);

        $instance->{$this->callbackMethod}(...$args);
    }
public function run(...$args): void
    {
        $container = $this->getContainer();
        $instance = $container->get($this->classIdentifier);

        $instance->{$this->callbackMethod}(...$args);
    }
public function run ( ... $ args ) : void { $ container = $ this -> getContainer ( ) ; $ instance = $ container -> get ( $ this -> classIdentifier ) ; $ instance -> { $ this -> callbackMethod } ( ... $ args ) ; }
The actual callback that WordPress going to fire.

@param mixed ...$args Arguments which pass on to the actual instance.

@return void
The actual callback that WordPress going to fire .