PHP Class Sulu\Bundle\SearchBundle\Search\Event\StructureMetadataLoadEvent

Inheritance: extends Symfony\Component\EventDispatcher\Event
Mostra file Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( Sulu\Component\Content\Compat\StructureInterface $structure, Massive\Bundle\SearchBundle\Search\Metadata\IndexMetadata $indexMetadata )
getIndexMetadata ( ) : Massive\Bundle\SearchBundle\Search\Metadata\IndexMetadata Return the metadata class which has been loaded for the Structure.
getStructure ( ) : Sulu\Component\Content\Compat\StructureInterface Return the Structure for which the metadata is being loaded.

Method Details

__construct() public method

public __construct ( Sulu\Component\Content\Compat\StructureInterface $structure, Massive\Bundle\SearchBundle\Search\Metadata\IndexMetadata $indexMetadata )
$structure Sulu\Component\Content\Compat\StructureInterface
$indexMetadata Massive\Bundle\SearchBundle\Search\Metadata\IndexMetadata

getIndexMetadata() public method

Return the metadata class which has been loaded for the Structure.
public getIndexMetadata ( ) : Massive\Bundle\SearchBundle\Search\Metadata\IndexMetadata
return Massive\Bundle\SearchBundle\Search\Metadata\IndexMetadata

getStructure() public method

Return the Structure for which the metadata is being loaded.
public getStructure ( ) : Sulu\Component\Content\Compat\StructureInterface
return Sulu\Component\Content\Compat\StructureInterface