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