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

Datei anzeigen Open project: sulu/sulu Interface Usage Examples

Public Methods

Method 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 method

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

getProvider() public method

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

hasProvider() public method

Returns true if provider exists.
public hasProvider ( string $name ) : boolean
$name string
return boolean