for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace SimpleSAML\XML\Type;
use SimpleSAML\XML\Attribute;
use SimpleSAML\XML\Constants as C;
use SimpleSAML\XMLSchema\Type\Builtin\IDValue as BaseIDValue;
use SimpleSAML\XMLSchema\Type\Helper\AttributeTypeInterface;
/**
* @package simplesaml/xml-common
*/
class IDValue extends BaseIDValue implements AttributeTypeInterface
{
/** @var string */
public const SCHEMA_TYPE = 'xs:ID';
* Convert this value to an attribute
*
* @return \SimpleSAML\XML\Attribute
public function toAttribute(): Attribute
return new Attribute(C::NS_XML, 'xml', 'id', $this);
}