ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\MetaData\Copyright\Services\Services Class Reference
+ Collaboration diagram for ILIAS\MetaData\Copyright\Services\Services:

Public Member Functions

 __construct (GlobalContainer $dic, SearchServices $repository_services, PathsServices $paths_services,)
 
 repository ()
 
 renderer ()
 
 identifiersHandler ()
 
 searcherFactory ()
 

Protected Attributes

RepositoryInterface $repository
 
RendererInterface $renderer
 
HandlerInterface $handler
 
FactoryInterface $searcher_factory
 
GlobalContainer $dic
 
SearchServices $search_services
 
PathsServices $paths_services
 

Detailed Description

Definition at line 36 of file Services.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\MetaData\Copyright\Services\Services::__construct ( GlobalContainer  $dic,
SearchServices  $repository_services,
PathsServices  $paths_services 
)

Definition at line 47 of file Services.php.

51 {
52 $this->dic = $dic;
53 $this->search_services = $repository_services;
54 $this->paths_services = $paths_services;
55 }

References ILIAS\MetaData\Copyright\Services\Services\$dic, and ILIAS\MetaData\Copyright\Services\Services\$paths_services.

Member Function Documentation

◆ identifiersHandler()

ILIAS\MetaData\Copyright\Services\Services::identifiersHandler ( )

Definition at line 78 of file Services.php.

78 : HandlerInterface
79 {
80 if (isset($this->handler)) {
81 return $this->handler;
82 }
83 return $this->handler = new Handler();
84 }

References ILIAS\MetaData\Copyright\Services\Services\$handler.

◆ renderer()

ILIAS\MetaData\Copyright\Services\Services::renderer ( )

Definition at line 67 of file Services.php.

67 : RendererInterface
68 {
69 if (isset($this->renderer)) {
70 return $this->renderer;
71 }
72 return $this->renderer = new Renderer(
73 $this->dic->ui()->factory(),
74 $this->dic->resourceStorage()
75 );
76 }

References ILIAS\MetaData\Copyright\Services\Services\$renderer, and ILIAS\MetaData\Copyright\Services\Services\renderer().

Referenced by ILIAS\MetaData\Copyright\Services\Services\renderer().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ repository()

ILIAS\MetaData\Copyright\Services\Services::repository ( )

Definition at line 57 of file Services.php.

57 : RepositoryInterface
58 {
59 if (isset($this->repository)) {
60 return $this->repository;
61 }
62 return $this->repository = new DatabaseRepository(
63 new Wrapper($this->dic->database())
64 );
65 }

References ILIAS\MetaData\Copyright\Services\Services\$repository, and ILIAS\MetaData\Copyright\Services\Services\repository().

Referenced by ILIAS\MetaData\Copyright\Services\Services\repository().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ searcherFactory()

ILIAS\MetaData\Copyright\Services\Services::searcherFactory ( )

Definition at line 86 of file Services.php.

86 : FactoryInterface
87 {
88 if (isset($this->searcher_factory)) {
90 }
91 return $this->searcher_factory = new Factory(
92 $this->search_services->searchFilterFactory(),
93 $this->search_services->searchClauseFactory(),
94 $this->paths_services->pathFactory(),
95 $this->identifiersHandler()
96 );
97 }

References ILIAS\MetaData\Copyright\Services\Services\$searcher_factory.

Field Documentation

◆ $dic

GlobalContainer ILIAS\MetaData\Copyright\Services\Services::$dic
protected

Definition at line 43 of file Services.php.

Referenced by ILIAS\MetaData\Copyright\Services\Services\__construct().

◆ $handler

HandlerInterface ILIAS\MetaData\Copyright\Services\Services::$handler
protected

◆ $paths_services

PathsServices ILIAS\MetaData\Copyright\Services\Services::$paths_services
protected

Definition at line 45 of file Services.php.

Referenced by ILIAS\MetaData\Copyright\Services\Services\__construct().

◆ $renderer

RendererInterface ILIAS\MetaData\Copyright\Services\Services::$renderer
protected

Definition at line 39 of file Services.php.

Referenced by ILIAS\MetaData\Copyright\Services\Services\renderer().

◆ $repository

RepositoryInterface ILIAS\MetaData\Copyright\Services\Services::$repository
protected

Definition at line 38 of file Services.php.

Referenced by ILIAS\MetaData\Copyright\Services\Services\repository().

◆ $search_services

SearchServices ILIAS\MetaData\Copyright\Services\Services::$search_services
protected

Definition at line 44 of file Services.php.

◆ $searcher_factory

FactoryInterface ILIAS\MetaData\Copyright\Services\Services::$searcher_factory
protected

The documentation for this class was generated from the following file: