/** * @param ProviderInterface $provider * * @return $this */ public function removeProvider(ProviderInterface $provider) { $this->providers->removeElement($provider); return $this; }