| Total Complexity | 4 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | abstract class AbstractProxies extends AbstractCasElement |
||
| 18 | { |
||
| 19 | /** @var string */ |
||
| 20 | final public const LOCALNAME = 'proxies'; |
||
| 21 | |||
| 22 | |||
| 23 | /** |
||
| 24 | * Initialize a Proxies element. |
||
| 25 | * |
||
| 26 | * @param \SimpleSAML\CAS\XML\Proxy[] $proxy |
||
| 27 | */ |
||
| 28 | public function __construct( |
||
| 34 | } |
||
| 35 | |||
| 36 | |||
| 37 | /** |
||
| 38 | * @return \SimpleSAML\CAS\XML\Proxy[] |
||
| 39 | */ |
||
| 40 | public function getProxy(): array |
||
| 41 | { |
||
| 42 | return $this->proxy; |
||
| 43 | } |
||
| 44 | |||
| 45 | |||
| 46 | /** |
||
| 47 | * Convert this Proxies to XML. |
||
| 48 | * |
||
| 49 | * @param \DOMElement|null $parent The element we should append this Proxies to. |
||
| 50 | * @return \DOMElement |
||
| 51 | */ |
||
| 52 | public function toXML(?DOMElement $parent = null): DOMElement |
||
| 61 | } |
||
| 62 | } |
||
| 63 |