1 | <?php |
||
9 | class CollectionCompiler extends Compiler |
||
10 | { |
||
11 | /** |
||
12 | * where. |
||
13 | * |
||
14 | * @param mixed $model |
||
15 | * @param array $actions |
||
16 | * @return mixed |
||
17 | */ |
||
18 | 5 | public function where($model, $actions) |
|
58 | |||
59 | /** |
||
60 | * having. |
||
61 | * |
||
62 | * @param mixed $model |
||
63 | * @param array $actions |
||
64 | * @return mixed |
||
65 | */ |
||
66 | 1 | public function having($model, $actions) |
|
70 | |||
71 | /** |
||
72 | * order. |
||
73 | * |
||
74 | * @param mixed $model |
||
75 | * @param array $actions |
||
76 | * @return mixed |
||
77 | */ |
||
78 | 1 | public function order($model, $actions) |
|
88 | |||
89 | /** |
||
90 | * with. |
||
91 | * |
||
92 | * @param mixed $model |
||
93 | * @param array $actions |
||
94 | * @return mixed |
||
95 | */ |
||
96 | 1 | public function with($model, $actions) |
|
100 | |||
101 | /** |
||
102 | * join. |
||
103 | * |
||
104 | * @param mixed $model |
||
105 | * @param array $actions |
||
106 | * @return mixed |
||
107 | */ |
||
108 | 1 | public function join($model, $actions) |
|
112 | |||
113 | /** |
||
114 | * select. |
||
115 | * |
||
116 | * @param mixed $model |
||
117 | * @param array $actions |
||
118 | * @return mixed |
||
119 | */ |
||
120 | 1 | public function select($model, $actions) |
|
124 | |||
125 | /** |
||
126 | * checkOperator. |
||
127 | * |
||
128 | * @param mixed$item |
||
129 | * @param array $parameters |
||
130 | * @return bool |
||
131 | */ |
||
132 | 2 | protected function checkOperator($item, $parameters) |
|
159 | |||
160 | /** |
||
161 | * orderComparer. |
||
162 | * |
||
163 | * @param array $sort |
||
164 | * @return \Closure |
||
165 | */ |
||
166 | protected function orderComparer($sort) |
||
187 | |||
188 | /** |
||
189 | * compileParameters. |
||
190 | * |
||
191 | * @param array $parameters |
||
192 | * @return array |
||
193 | */ |
||
194 | 9 | protected function compileParameters($parameters) |
|
198 | } |
||
199 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.