Vinelab\Minion\Client::bootProviders PHP Method

bootProviders() private method

Boot up the registered providers by calling their boot() method.
private bootProviders ( )
    private function bootProviders()
    {
        foreach ($this->providers as $provider) {
            if ($provider instanceof Closure) {
                $provider($this);
            } else {
                (new $provider($this))->boot();
            }
        }
    }