/**
  * @param null|array|object $data
  * @param string|null $namespace
  */
 public function __construct($data = null, $namespace = null)
 {
     $this->namespace = $namespace;
     $this->data = $data;
     parent::__construct();
 }
Beispiel #2
0
 /**
  * Create validation.
  *
  * @param ContainerBehaviour $container  Form object.
  * @param array|null         $validators prepared validators.
  */
 public function __construct($container, $validators = null)
 {
     $this->_container = $container;
     parent::__construct($validators);
 }