class SearchIndex implements ExtenderInterface

Methods

indexer(string $resourceClass, string $indexerClass)

<p>Register an indexer for a resource.</p>

void
extend(Container $container, Extension $extension = null)

No description

Details

SearchIndex indexer(string $resourceClass, string $indexerClass)

<p>Register an indexer for a resource.</p>

Parameters

string $resourceClass
string $indexerClass

Return Value

SearchIndex

void extend(Container $container, Extension $extension = null)

Parameters

Container $container
Extension $extension

Return Value

void