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