Comments/CommentsRenderer.php
public function getDefaultProvider()
    {
        if (isset($this->defaultProvider)) {
            return $this->getProvider($this->defaultProvider);
        }

        $providerLabels = array_keys($this->providers);

        return $this->providers[$providerLabels[0]];
    }
public function getDefaultProvider()
    {
        if (isset($this->defaultProvider)) {
            return $this->getProvider($this->defaultProvider);
        }

        $providerLabels = array_keys($this->providers);

        return $this->providers[$providerLabels[0]];
    }
public function getDefaultProvider ( ) { if ( isset ( $ this -> defaultProvider ) ) { return $ this -> getProvider ( $ this -> defaultProvider ) ; } $ providerLabels = array_keys ( $ this -> providers ) ; return $ this -> providers [ $ providerLabels [ 0 ] ] ; }
Returns the default provider.
If no default provider is set, the first one will be returned.

@return ProviderInterface
Returns the default provider . If no default provider is set the first one will be returned .