public function getProvider($name)
    {
        if (!isset($this->providers[$name])) {
            throw new \InvalidArgumentException(sprintf(
                'Unknown provider "%s", registered reindex providers: "%s"',
                $name, implode('", "', array_keys($this->providers))
            ));
        }

        return $this->providers[$name];
    }
public function getProvider($name)
    {
        if (!isset($this->providers[$name])) {
            throw new \InvalidArgumentException(sprintf(
                'Unknown provider "%s", registered reindex providers: "%s"',
                $name, implode('", "', array_keys($this->providers))
            ));
        }

        return $this->providers[$name];
    }
public function getProvider ( $ name ) { if ( ! isset ( $ this -> providers [ $ name ] ) ) { throw new \ InvalidArgumentException ( sprintf ( 'Unknown provider "%s", registered reindex providers: "%s"' , $ name , implode ( '", "' , array_keys ( $ this -> providers ) ) ) ) ; } return $ this -> providers [ $ name ] ; }
Return a specific provider.
Return a specific provider .