1 | <?php |
||
26 | abstract class AbstractQueryBuilderOperator implements QueryBuilderDecoratorInterface, QueryBuilderOperatorInterface { |
||
27 | |||
28 | /** |
||
29 | * Operator. |
||
30 | * |
||
31 | * @var string |
||
32 | */ |
||
33 | private $operator; |
||
34 | |||
35 | /** |
||
36 | * Constructor. |
||
37 | * |
||
38 | * @param string $operator The operator. |
||
39 | */ |
||
40 | protected function __construct($operator) { |
||
43 | |||
44 | /** |
||
45 | * Get the operator. |
||
46 | * |
||
47 | * @return string Returns the operator. |
||
48 | */ |
||
49 | public function getOperator() { |
||
52 | |||
53 | /** |
||
54 | * Set the operator. |
||
55 | * |
||
56 | * @param string $operator The operator |
||
57 | * @return AbstractQueryBuilderOperator Returns this operator. |
||
58 | */ |
||
59 | protected function setOperator($operator) { |
||
63 | |||
64 | /** |
||
65 | * {@inheritDoc} |
||
66 | */ |
||
67 | public function toSQL(QueryBuilderRuleInterface $rule, $wrap = false) { |
||
74 | } |
||
75 |