public function getProvider($providerClass) { $providerType = $this->getProviderTypeByClass($providerClass); return $this->getProviderByType($providerType); }