public function removeProvider(Provider $provider)
    {
        $index = array_search($provider, $this->providers);

        if ($index !== false) {
            unset($this->providers[$index]);
        }

        return $this;
    }