class EntryIndexer implements IndexingDriverInterface, ApplicationAwareInterface (View source)

Traits

Trait ApplicationAwareTrait A trait used with ApplicationAwareInterface

Properties

protected Application $app from  ApplicationAwareTrait
protected ObjectManager $objectManager

Methods

setApplication(Application $app)

Setter method for the application

__construct(ObjectManager $objectManager)

No description

bool
index($entry)

Add an object to the index

bool
forget($entry)

Remove an object from the index

Details

setApplication(Application $app)

Setter method for the application

Parameters

Application $app

__construct(ObjectManager $objectManager)

No description

Parameters

ObjectManager $objectManager

bool index($entry)

Add an object to the index

Parameters

$entry

Return Value

bool

Success or fail

bool forget($entry)

Remove an object from the index

Parameters

$entry

Return Value

bool

Success or fail