public function __construct(AttributeDef $att) { parent::__construct($att->getSchema(), $att->getName()); $this->wrapped = $att; }
public function __construct(ElementDef $element) { parent::__construct($element->getSchema(), $element->getName()); $this->wrapped = $element; }