src/Kunstmaan/SearchBundle/Provider/SearchProviderChain.php
public function getProvider($alias)
    {
        if (array_key_exists($alias, $this->providers)) {
            return $this->providers[$alias];
        }

        return null;
    }
public function getProvider($alias)
    {
        if (array_key_exists($alias, $this->providers)) {
            return $this->providers[$alias];
        }

        return null;
    }
public function getProvider ( $ alias ) { if ( array_key_exists ( $ alias , $ this -> providers ) ) { return $ this -> providers [ $ alias ] ; } return null ; }
Get a SearchProvider based on its alias

@param string $alias

@return SearchProviderInterface|null
Get a SearchProvider based on its alias