src/Tomahawk/DependencyInjection/Container.php
public function register(ServiceProviderInterface $provider, array $values = [])
    {
        $provider->register($this);

        foreach ($values as $key => $value) {
            $this[$key] = $value;
        }

        return $this;
    }
public function register(ServiceProviderInterface $provider, array $values = [])
    {
        $provider->register($this);

        foreach ($values as $key => $value) {
            $this[$key] = $value;
        }

        return $this;
    }
Registers a service provider.

@param ServiceProviderInterface $provider A ServiceProviderInterface instance
@param array                    $values   An array of values that customizes the provider

@return static