class IndexService

Class IndexService

Properties

static array $types possible types of an index.

Methods

static 
addIndexType($type)

Add new Index Tpye.

static  array
getTypes()

get possible types.

static  IndexService
getIndexService()

Get Index Service Singleton.

__construct()

IndexService constructor.

getWorker($name)

Get Worker by Name.

deleteFromIndex( Product $product)

Delete Product From Index.

updateIndex( Product $product)

Update Product in Index.

Details

at line line 55
static addIndexType($type)

Add new Index Tpye.

Parameters

$type

at line line 67
static array getTypes()

get possible types.

Return Value

array

at line line 77
static IndexService getIndexService()

Get Index Service Singleton.

Return Value

IndexService

at line line 89
__construct()

IndexService constructor.

at line line 110
AbstractWorker|null getWorker($name)

Get Worker by Name.

Parameters

$name

Return Value

AbstractWorker|null

at line line 126
deleteFromIndex( Product $product)

Delete Product From Index.

Parameters

Product $product

at line line 138
updateIndex( Product $product)

Update Product in Index.

Parameters

Product $product