1 | <?php |
||
5 | class Operations |
||
6 | { |
||
7 | |||
8 | private $wrapper; |
||
9 | |||
10 | /** |
||
11 | * |
||
12 | * @var \ntentan\nibii\DriverAdapter |
||
13 | */ |
||
14 | private $adapter; |
||
15 | private $queryOperations; |
||
16 | private $dataOperations; |
||
17 | private $queryOperationMethods = [ |
||
18 | 'fetch', 'fetchFirst', 'filter', 'query', 'fields', |
||
19 | 'cover', 'limit', 'offset', 'filterBy', 'sortBy', |
||
20 | 'delete', 'count', 'update', 'with' |
||
21 | ]; |
||
22 | private $dataOperationMethods = [ |
||
23 | 'save', 'validate' |
||
24 | ]; |
||
25 | |||
26 | 34 | public function __construct(RecordWrapper $wrapper, $table) |
|
34 | |||
35 | 34 | public function perform($name, $arguments) |
|
48 | |||
49 | public function getData() |
||
53 | |||
54 | 10 | public function getInvalidFields() |
|
58 | |||
59 | } |
||
60 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.