Example #1
0
 public function __construct(Model $model, $property, $validator, $args = array(), $options = array())
 {
     $this->model = $model;
     $this->property = $property instanceof Property ? $property : $model->get_property($property);
     $this->validator = $validator;
     $this->args = $args;
     $this->options = $options;
 }