public function update(array $input) { $this->validator->setCurrent($input['id']); if (!$this->valid($input)) { return false; } return $this->phone->update($input); }
public function setCurrent($id) { $this->validator->setCurrent($id); return $this; }