/** * Update an existing model * * @param array $data * @return boolean */ public function update(array $data) { $data = $this->combineDateTime($data); return parent::update($data); }
public function __construct(Model $model) { parent::__construct(); $this->model = $model; }
public function __construct(Model $model, TagInterface $tag) { parent::__construct(); $this->model = $model; $this->tag = $tag; }