public function addAfterBootstrapping(string $bootstrapper, callable $callback): void
    {
        $key = 'bootstrapped: ' . \str_replace('\\', '', $bootstrapper);

        $this->bootstrappedCallbacks[$key][] = $callback;
    }
public function addAfterBootstrapping(string $bootstrapper, callable $callback): void
    {
        $key = 'bootstrapped: ' . \str_replace('\\', '', $bootstrapper);

        $this->bootstrappedCallbacks[$key][] = $callback;
    }
public function addAfterBootstrapping ( string $ bootstrapper , callable $ callback ) : void { $ key = 'bootstrapped: ' . \ str_replace ( '\\' , '' , $ bootstrapper ) ; $ this -> bootstrappedCallbacks [ $ key ] [ ] = $ callback ; }
Register a callback to run after a bootstrapper.

@param string   $bootstrapper
@param callable $callback

@return void
Register a callback to run after a bootstrapper .