Exemple #1
0
 /**
  * Field constructor.
  * @param $results Results
  * @param $errors Errors
  * @param $rootResult Root
  * @param $path string
  */
 public function __construct($results, $errors, $rootResult, $path)
 {
     parent::__construct($results, $errors);
     $this->rootResult = $rootResult;
     $this->path = $path;
 }
Exemple #2
0
 /**
  * Root constructor.
  * @param $results Results
  * @param $errorBuilder Errors
  * @param $value array|object
  */
 public function __construct($results, $errorBuilder, $value)
 {
     parent::__construct($results, $errorBuilder);
     $this->value = $value;
 }