Total Complexity | 2 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | class CreateEntity implements MutatorInterface |
||
15 | { |
||
16 | /** |
||
17 | * @var array |
||
18 | */ |
||
19 | protected $data = array(); |
||
20 | |||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | protected $table = ''; |
||
25 | |||
26 | /** |
||
27 | * Initializes the mutator instance. |
||
28 | * |
||
29 | * @param array $data |
||
30 | */ |
||
31 | public function __construct($data) |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * Mutates the specified query instance. |
||
38 | * |
||
39 | * @param \Rougin\Windstorm\QueryInterface $query |
||
40 | */ |
||
41 | public function set(QueryInterface $query) |
||
46 |