| Total Complexity | 3 | 
| Total Lines | 52 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 14 | class UpdateEntity implements MutatorInterface  | 
            ||
| 15 | { | 
            ||
| 16 | /**  | 
            ||
| 17 | * @var array  | 
            ||
| 18 | */  | 
            ||
| 19 | protected $data = array();  | 
            ||
| 20 | |||
| 21 | /**  | 
            ||
| 22 | * @var integer  | 
            ||
| 23 | */  | 
            ||
| 24 | protected $id;  | 
            ||
| 25 | |||
| 26 | /**  | 
            ||
| 27 | * @var string  | 
            ||
| 28 | */  | 
            ||
| 29 | protected $primary = 'id';  | 
            ||
| 30 | |||
| 31 | /**  | 
            ||
| 32 | * @var string  | 
            ||
| 33 | */  | 
            ||
| 34 | protected $table = '';  | 
            ||
| 35 | |||
| 36 | /**  | 
            ||
| 37 | * Initializes the mutator instance.  | 
            ||
| 38 | *  | 
            ||
| 39 | * @param integer $id  | 
            ||
| 40 | * @param array $data  | 
            ||
| 41 | */  | 
            ||
| 42 | public function __construct($id, $data)  | 
            ||
| 47 | }  | 
            ||
| 48 | |||
| 49 | /**  | 
            ||
| 50 | * Mutates the specified query instance.  | 
            ||
| 51 | *  | 
            ||
| 52 | * @param \Rougin\Windstorm\QueryInterface $query  | 
            ||
| 53 | */  | 
            ||
| 54 | public function set(QueryInterface $query)  | 
            ||
| 68 |