ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
JoinProperties.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
25 
27 {
31  protected array $sub_clauses;
32  protected Operator $operator;
33 
34  public function __construct(
35  Operator $operator,
36  ClauseInterface $first_clause,
37  ClauseInterface $second_clause,
38  ClauseInterface ...$further_clauses
39  ) {
40  $this->operator = $operator;
41  $this->sub_clauses = [
42  $first_clause,
43  $second_clause,
44  ...$further_clauses
45  ];
46  }
47 
48  public function operator(): Operator
49  {
50  return $this->operator;
51  }
52 
56  public function subClauses(): \Generator
57  {
59  }
60 }
__construct(Operator $operator, ClauseInterface $first_clause, ClauseInterface $second_clause, ClauseInterface ... $further_clauses)