public function __construct($arg1 = null, $arg2 = null) { parent::__construct(); $this->validate($arg1, $arg2); $this->arg1 = $arg1; $this->arg2 = $arg2; }
public function __construct($test = null) { $this->test = $test; parent::__construct(); }
/** * 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(); }