src/Sulu/Component/SmartContent/ContentType.php
private function getProvider(PropertyInterface $property)
    {
        $params = $property->getParams();

        $providerAlias = 'pages';
        if (array_key_exists('provider', $params)) {
            $providerAlias = $params['provider']->getValue();
        }

        return $this->dataProviderPool->get($providerAlias);
    }
private function getProvider(PropertyInterface $property)
    {
        $params = $property->getParams();

        $providerAlias = 'pages';
        if (array_key_exists('provider', $params)) {
            $providerAlias = $params['provider']->getValue();
        }

        return $this->dataProviderPool->get($providerAlias);
    }
private function getProvider ( PropertyInterface $ property ) { $ params = $ property -> getParams ( ) ; $ providerAlias = 'pages' ; if ( array_key_exists ( 'provider' , $ params ) ) { $ providerAlias = $ params [ 'provider' ] -> getValue ( ) ; } return $ this -> dataProviderPool -> get ( $ providerAlias ) ; }
Returns provider for given property.

@param PropertyInterface $property

@return DataProviderInterface
Returns provider for given property .