ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
JoinProperties.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
25
27{
31 protected array $sub_clauses;
33
34 public function __construct(
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)