ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
NullFactory.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 
25 class NullFactory implements FactoryInterface
26 {
27  public function getBasicClause(
29  Mode $mode,
30  string $value,
31  bool $is_mode_negated = false
32  ): ClauseInterface {
33  return new NullClause();
34  }
35 
36  public function getJoinedClauses(
37  Operator $operator,
38  ClauseInterface $first_clause,
39  ClauseInterface ...$further_clauses
40  ): ClauseInterface {
41  return new NullClause();
42  }
43 
45  {
46  return new NullClause();
47  }
48 }
getJoinedClauses(Operator $operator, ClauseInterface $first_clause, ClauseInterface ... $further_clauses)
Joins multiple clauses with an operator, leading to search clauses like: "Find all LOM sets that have...
Definition: NullFactory.php:36
getNegatedClause(ClauseInterface $clause)
Negating a clause does not negate the condition on values, e.g.
Definition: NullFactory.php:44
$path
Definition: ltiservices.php:29
getBasicClause(PathInterface $path, Mode $mode, string $value, bool $is_mode_negated=false)
Basic search clause with the following semantics: "Find all LOM sets that have at least one element a...
Definition: NullFactory.php:27