File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99use SimpleSAML \XML \Constants as C ;
1010use SimpleSAML \XML \Exception \InvalidDOMElementException ;
1111use SimpleSAML \XML \Exception \MissingAttributeException ;
12+ use SimpleSAML \XML \ArrayizableElementInterface ;
1213use SimpleSAML \XML \StringElementTrait ;
1314
1415use function array_key_first ;
1819 *
1920 * @package simplesamlphp/saml2
2021 */
21- abstract class AbstractLocalizedName extends AbstractMdElement
22+ abstract class AbstractLocalizedName extends AbstractMdElement implements ArrayizableElementInterface
2223{
2324 use StringElementTrait;
2425
Original file line number Diff line number Diff line change 1111use SimpleSAML \SAML2 \Exception \ProtocolViolationException ;
1212use SimpleSAML \SAML2 \Utils \XPath ;
1313use SimpleSAML \SAML2 \XML \ExtendableElementTrait ;
14+ use SimpleSAML \XML \ArrayizableElementInterface ;
1415use SimpleSAML \XML \Exception \InvalidDOMElementException ;
1516use SimpleSAML \XML \Exception \TooManyElementsException ;
1617use SimpleSAML \XML \ExtendableAttributesTrait ;
2829 *
2930 * @package simplesamlphp/saml2
3031 */
31- final class ContactPerson extends AbstractMdElement
32+ final class ContactPerson extends AbstractMdElement implements ArrayizableElementInterface
3233{
3334 use ExtendableElementTrait;
3435 use ExtendableAttributesTrait;
Original file line number Diff line number Diff line change 66
77use DOMElement ;
88use SimpleSAML \Assert \Assert ;
9+ use SimpleSAML \XML \ArrayizableElementInterface ;
910use SimpleSAML \XML \StringElementTrait ;
1011
1112/**
1213 * Class implementing EmailAddress.
1314 *
1415 * @package simplesamlphp/saml2
1516 */
16- final class EmailAddress extends AbstractMdElement
17+ final class EmailAddress extends AbstractMdElement implements ArrayizableElementInterface
1718{
1819 use StringElementTrait;
1920
Original file line number Diff line number Diff line change 1010use SimpleSAML \Assert \Assert ;
1111use SimpleSAML \SAML2 \Exception \ProtocolViolationException ;
1212use SimpleSAML \SAML2 \XML \ExtendableElementTrait ;
13+ use SimpleSAML \XML \ArrayizableElementInterface ;
1314use SimpleSAML \XML \Exception \InvalidDOMElementException ;
1415use SimpleSAML \XML \Exception \MissingElementException ;
1516use SimpleSAML \XML \Exception \TooManyElementsException ;
2425 *
2526 * @package simplesamlphp/saml2
2627 */
27- final class Organization extends AbstractMdElement
28+ final class Organization extends AbstractMdElement implements ArrayizableElementInterface
2829{
2930 use ExtendableAttributesTrait;
3031 use ExtendableElementTrait;
Original file line number Diff line number Diff line change 66
77use DOMElement ;
88use SimpleSAML \Assert \Assert ;
9+ use SimpleSAML \XML \ArrayizableElementInterface ;
910use SimpleSAML \XML \StringElementTrait ;
1011
1112/**
1213 * Class implementing TelephoneNumber.
1314 *
1415 * @package simplesamlphp/saml2
1516 */
16- final class TelephoneNumber extends AbstractMdElement
17+ final class TelephoneNumber extends AbstractMdElement implements ArrayizableElementInterface
1718{
1819 use StringElementTrait;
1920
Original file line number Diff line number Diff line change 77use DOMElement ;
88use SimpleSAML \Assert \Assert ;
99use SimpleSAML \SAML2 \Exception \ProtocolViolationException ;
10+ use SimpleSAML \XML \ArrayizableElementInterface ;
1011use SimpleSAML \XML \Exception \InvalidDOMElementException ;
1112use SimpleSAML \XML \Utils as XMLUtils ;
1213
1617 * @link: http://docs.oasis-open.org/security/saml/Post2.0/saml-metadata-rpi/v1.0/saml-metadata-rpi-v1.0.pdf
1718 * @package simplesamlphp/saml2
1819 */
19- final class Publication extends AbstractMdrpiElement
20+ final class Publication extends AbstractMdrpiElement implements ArrayizableElementInterface
2021{
2122 /**
2223 * Create/parse a mdrpi:PublicationInfo element.
Original file line number Diff line number Diff line change 77use DOMElement ;
88use SimpleSAML \Assert \Assert ;
99use SimpleSAML \SAML2 \Exception \ProtocolViolationException ;
10+ use SimpleSAML \XML \ArrayizableElementInterface ;
1011use SimpleSAML \XML \Exception \InvalidDOMElementException ;
1112use SimpleSAML \XML \Utils as XMLUtils ;
1213
1617 * @link: http://docs.oasis-open.org/security/saml/Post2.0/saml-metadata-rpi/v1.0/saml-metadata-rpi-v1.0.pdf
1718 * @package simplesamlphp/saml2
1819 */
19- final class PublicationInfo extends AbstractMdrpiElement
20+ final class PublicationInfo extends AbstractMdrpiElement implements ArrayizableElementInterface
2021{
2122 /**
2223 * Create/parse a mdrpi:PublicationInfo element.
Original file line number Diff line number Diff line change 77use DOMElement ;
88use SimpleSAML \Assert \Assert ;
99use SimpleSAML \SAML2 \Exception \ProtocolViolationException ;
10+ use SimpleSAML \XML \ArrayizableElementInterface ;
1011use SimpleSAML \XML \Exception \InvalidDOMElementException ;
1112use SimpleSAML \XML \Utils as XMLUtils ;
1213
1617 * @link: http://docs.oasis-open.org/security/saml/Post2.0/saml-metadata-rpi/v1.0/saml-metadata-rpi-v1.0.pdf
1718 * @package simplesamlphp/saml2
1819 */
19- final class PublicationPath extends AbstractMdrpiElement
20+ final class PublicationPath extends AbstractMdrpiElement implements ArrayizableElementInterface
2021{
2122 /**
2223 * Create/parse a mdrpi:PublicationPath element.
Original file line number Diff line number Diff line change 77use DOMElement ;
88use SimpleSAML \Assert \Assert ;
99use SimpleSAML \SAML2 \Exception \ProtocolViolationException ;
10+ use SimpleSAML \XML \ArrayizableElementInterface ;
1011use SimpleSAML \XML \Exception \InvalidDOMElementException ;
1112use SimpleSAML \XML \Utils as XMLUtils ;
1213
1617 * @link: http://docs.oasis-open.org/security/saml/Post2.0/saml-metadata-rpi/v1.0/saml-metadata-rpi-v1.0.pdf
1718 * @package simplesamlphp/saml2
1819 */
19- final class RegistrationInfo extends AbstractMdrpiElement
20+ final class RegistrationInfo extends AbstractMdrpiElement implements ArrayizableElementInterface
2021{
2122 /**
2223 * Create/parse a mdrpi:RegistrationInfo element.
Original file line number Diff line number Diff line change 77use DOMElement ;
88use SimpleSAML \Assert \Assert ;
99use SimpleSAML \SAML2 \Utils \XPath ;
10+ use SimpleSAML \XML \ArrayizableElementInterface ;
1011use SimpleSAML \XML \Chunk ;
1112use SimpleSAML \XML \Constants as C ;
1213use SimpleSAML \XML \Exception \InvalidDOMElementException ;
1819 * @link: http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-metadata-ui/v1.0/sstc-saml-metadata-ui-v1.0.pdf
1920 * @package simplesamlphp/saml2
2021 */
21- final class DiscoHints extends AbstractMduiElement
22+ final class DiscoHints extends AbstractMduiElement implements ArrayizableElementInterface
2223{
2324 use ExtendableElementTrait;
2425
You can’t perform that action at this time.
0 commit comments