Larabros\Elogram\Container\Builder::registerProvider PHP Method

registerProvider() public method

Registers a service provider onto the container.
public registerProvider ( string | League\Container\ServiceProvider\ServiceProviderInterface $provider ) : Builder
$provider string | League\Container\ServiceProvider\ServiceProviderInterface
return Builder
    public function registerProvider($provider)
    {
        $this->getContainer()->addServiceProvider($provider);
        return $this;
    }