public patchEntity ( Cake\Datasource\EntityInterface $entity, array $data, array $options = [] ) : Cake\Datasource\EntityInterface | ||
$entity | Cake\Datasource\EntityInterface | the entity that will get the data merged in |
$data | array | key value list of fields to be merged into the entity |
$options | array | A list of options for the object hydration. |
return | Cake\Datasource\EntityInterface |