Exemplo n.º 1
0
 /**
  * Creates a new Struct
  *
  * @param []      $data
  * @param boolean $readOnly
  */
 public function __construct(array $data = [], $readOnly = false)
 {
     $validator = $this->createValidator();
     parent::__construct($validator, $data, $readOnly);
 }