Пример #1
0
 public function __construct($arg1 = null, $arg2 = null)
 {
     parent::__construct();
     $this->validate($arg1, $arg2);
     $this->arg1 = $arg1;
     $this->arg2 = $arg2;
 }
Пример #2
0
 public function __construct($test = null)
 {
     $this->test = $test;
     parent::__construct();
 }
Пример #3
0
 /**
  * ContentTypeQuery constructor.
  *
  * @param   EntityInterface $entity   The entity to be rendered
  * @param   array           $elements The elements created so far
  */
 public function __construct(EntityInterface $entity, $elements)
 {
     $this->entity = $entity;
     $this->elements = $elements;
     parent::__construct();
 }