ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Services.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 use ILIAS\MetaData\Search\Filters\FactoryInterface as FilterFactoryInterface;
26 use ILIAS\MetaData\Search\Filters\Factory as FilterFactory;
27 
28 class Services
29 {
31  protected FilterFactoryInterface $search_filter_factory;
32 
34  {
35  if (isset($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)) {
45  }
46  return $this->search_filter_factory = new FilterFactory();
47  }
48 }
FilterFactoryInterface $search_filter_factory
Definition: Services.php:31
ClauseFactoryInterface $search_clause_factory
Definition: Services.php:30