Пример #1
0
 /**
  * @param string $name
  * @param array $attributeList
  * @param IProperty|mixed|null $value
  */
 public function __construct($name = null, array $attributeList = [], $value = null)
 {
     parent::__construct(null, null);
     $this->name = $name;
     $this->attributeList = $attributeList;
     $this->property = $value instanceof IProperty ? $value : new Property(null, $value);
 }
Пример #2
0
 /**
  * @param string|null $guid
  * @param IComponent $parent
  */
 public function __construct($guid = null, IComponent $parent = null)
 {
     parent::__construct($guid, $parent);
 }