PHP Interface Sulu\Bundle\ContentBundle\Teaser\Provider\TeaserProviderPoolInterface

Afficher le fichier Open project: sulu/sulu Interface Usage Examples

Méthodes publiques

Méthode Description
getConfiguration ( ) : TeaserConfiguration[] Returns configuration for content-type.
getProvider ( string $name ) : Sulu\Bundle\ContentBundle\Teaser\Provider\TeaserProviderInterface Returns provider by name.
hasProvider ( string $name ) : boolean Returns true if provider exists.

Method Details

getConfiguration() public méthode

Returns configuration for content-type.
public getConfiguration ( ) : TeaserConfiguration[]
Résultat Sulu\Bundle\ContentBundle\Teaser\Configuration\TeaserConfiguration[]

getProvider() public méthode

Returns provider by name.
public getProvider ( string $name ) : Sulu\Bundle\ContentBundle\Teaser\Provider\TeaserProviderInterface
$name string
Résultat Sulu\Bundle\ContentBundle\Teaser\Provider\TeaserProviderInterface

hasProvider() public méthode

Returns true if provider exists.
public hasProvider ( string $name ) : boolean
$name string
Résultat boolean