ILIAS
trunk Revision v11.0_alpha-2658-ge2404539063
◀ ilDoc Overview
Factory.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Copyright\Search
;
22
23
use
ILIAS\MetaData\Search\Filters\FactoryInterface
as SearchFilterFactory;
24
use
ILIAS\MetaData\Search\Clauses\FactoryInterface
as
SearchClauseFactory
;
25
use
ILIAS\MetaData\Paths\FactoryInterface
as
PathFactory
;
26
use
ILIAS\MetaData\Copyright\Identifiers\HandlerInterface
as
CopyrightIdentifierHandler
;
27
28
class
Factory
implements
FactoryInterface
29
{
30
protected
SearchFilterFactory
$search_filter_factory
;
31
protected
SearchClauseFactory
$search_clause_factory
;
32
protected
PathFactory
$path_factory
;
33
protected
CopyrightIdentifierHandler
$copyright_identifier_handler
;
34
35
public
function
__construct
(
36
SearchFilterFactory $search_filter_factory,
37
SearchClauseFactory
$search_clause_factory,
38
PathFactory
$path_factory,
39
CopyrightIdentifierHandler
$copyright_identifier_handler,
40
) {
41
$this->search_filter_factory =
$search_filter_factory
;
42
$this->search_clause_factory =
$search_clause_factory
;
43
$this->path_factory =
$path_factory
;
44
$this->copyright_identifier_handler =
$copyright_identifier_handler
;
45
}
46
47
public
function
get
():
SearcherInterface
48
{
49
return
new
Searcher
(
50
$this->search_filter_factory,
51
$this->search_clause_factory,
52
$this->path_factory,
53
$this->copyright_identifier_handler
54
);
55
}
56
}
FactoryInterface
ILIAS\MetaData\Copyright\Search\Factory\$copyright_identifier_handler
CopyrightIdentifierHandler $copyright_identifier_handler
Definition:
Factory.php:33
FactoryInterface
HandlerInterface
ILIAS\MetaData\Copyright\Search\Factory\$search_filter_factory
SearchFilterFactory $search_filter_factory
Definition:
Factory.php:30
ILIAS\MetaData\Copyright\Search\SearcherInterface
Definition:
SearcherInterface.php:26
ILIAS\MetaData\Copyright\Search\Factory\$search_clause_factory
SearchClauseFactory $search_clause_factory
Definition:
Factory.php:31
ILIAS\MetaData\Copyright\Search
Definition:
Factory.php:21
ILIAS\MetaData\Copyright\Search\Factory\__construct
__construct(SearchFilterFactory $search_filter_factory, SearchClauseFactory $search_clause_factory, PathFactory $path_factory, CopyrightIdentifierHandler $copyright_identifier_handler,)
Definition:
Factory.php:35
ILIAS\MetaData\Search\Filters\FactoryInterface
Definition:
FactoryInterface.php:23
ILIAS\MetaData\Copyright\Search\Searcher
Definition:
Searcher.php:33
ILIAS\MetaData\Copyright\Search\FactoryInterface
Definition:
FactoryInterface.php:23
ILIAS\MetaData\Copyright\Search\Factory\$path_factory
PathFactory $path_factory
Definition:
Factory.php:32
ILIAS\MetaData\Copyright\Search\Factory
Definition:
Factory.php:28
components
ILIAS
MetaData
classes
Copyright
Search
Factory.php
Generated on Tue Sep 2 2025 23:01:56 for ILIAS by
1.8.13 (using
Doxyfile
)