ILIAS
trunk Revision v11.0_alpha-2658-ge2404539063
◀ ilDoc Overview
Services.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Search\Services
;
22
23
use
ILIAS\MetaData\Search\Clauses\FactoryInterface
as
ClauseFactoryInterface
;
24
use
ILIAS\MetaData\Search\Filters\FactoryInterface
as FilterFactoryInterface;
25
use
ILIAS\MetaData\Search\Clauses\Factory
as
ClauseFactory
;
26
use
ILIAS\MetaData\Search\Filters\Factory
as FilterFactory;
27
28
class
Services
29
{
30
protected
ClauseFactoryInterface
$search_clause_factory
;
31
protected
FilterFactoryInterface
$search_filter_factory
;
32
33
public
function
searchClauseFactory
():
ClauseFactoryInterface
34
{
35
if
(isset($this->search_clause_factory)) {
36
return
$this->search_clause_factory
;
37
}
38
return
$this->search_clause_factory =
new
ClauseFactory
();
39
}
40
41
public
function
searchFilterFactory
(): FilterFactoryInterface
42
{
43
if
(isset($this->search_filter_factory)) {
44
return
$this->search_filter_factory
;
45
}
46
return
$this->search_filter_factory =
new
FilterFactory();
47
}
48
}
ILIAS\MetaData\Search\Services\Services\searchFilterFactory
searchFilterFactory()
Definition:
Services.php:41
ILIAS\MetaData\Search\Clauses\Factory
Definition:
Factory.php:27
FactoryInterface
ILIAS\MetaData\Search\Services\Services\$search_filter_factory
FilterFactoryInterface $search_filter_factory
Definition:
Services.php:31
ILIAS\MetaData\Search\Filters\Factory
Definition:
Factory.php:23
Services
ILIAS\MetaData\Search\Filters\FactoryInterface
Definition:
FactoryInterface.php:23
ILIAS\MetaData\Search\Services
Definition:
Services.php:21
ILIAS\MetaData\Search\Services\Services\$search_clause_factory
ClauseFactoryInterface $search_clause_factory
Definition:
Services.php:30
ILIAS\MetaData\Search\Services\Services\searchClauseFactory
searchClauseFactory()
Definition:
Services.php:33
components
ILIAS
MetaData
classes
Search
Services
Services.php
Generated on Tue Sep 2 2025 23:02:11 for ILIAS by
1.8.13 (using
Doxyfile
)