コード例 #1
0
ファイル: SpecFactory.php プロジェクト: chromabits/nucleus
 /**
  * Build an instance of the defined Spec.
  *
  * @return Spec
  */
 public function make()
 {
     return new Spec($this->constraints->toArray(), $this->defaults->toArray(), $this->required->toArray());
 }