PageIndexer
class PageIndexer implements IndexingDriverInterface, ApplicationAwareInterface (View source)
Traits
Trait ApplicationAwareTrait A trait used with ApplicationAwareInterface
Properties
protected Application | $app | from ApplicationAwareTrait | |
private IndexedSearch | $search |
Methods
Details
setApplication(Application $app)
Setter method for the application
__construct(IndexedSearch $search)
DefaultPageDriver constructor.
bool
index(string|int|Page $page)
Add a page to the index
bool
forget($page)
Remove a page from the index
protected Page|null
getPage(string|int|Page|Collection $page)
Get a page based on criteria