Autarky\Application::config PHP Метод

config() публичный Метод

Push a configurator on top of the stack. The configurators will be executed when the application is booted. If the application is already booted, the configurator will be executed at once.
public config ( callable | string | autarky\ConfiguratorInterface $configurator ) : void
$configurator callable | string | autarky\ConfiguratorInterface
Результат void
    public function config($configurator)
    {
        if ($this->booted) {
            $this->invokeConfigurator($configurator);
        } else {
            $this->configurators->push($configurator);
        }
    }