1 | <?php |
||
14 | class WhereAdapter |
||
15 | { |
||
16 | /** |
||
17 | * Lista de comandos permitidos |
||
18 | * |
||
19 | * @var array |
||
20 | */ |
||
21 | protected $allowed; |
||
22 | |||
23 | /** |
||
24 | * Adapter constructor. |
||
25 | */ |
||
26 | 3 | public function __construct() |
|
50 | |||
51 | /** |
||
52 | * Converte um Where em JSON para PHP |
||
53 | * |
||
54 | * @param array $jWhere |
||
55 | * @return Where |
||
56 | * @throws InvalidCommandException |
||
57 | */ |
||
58 | 3 | public function fromArray(array $jWhere) |
|
85 | } |
||
86 |