ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Destination.php
Go to the documentation of this file.
1<?php
2
3namespace SAML2\Configuration;
4
6
11{
15 private $destination;
16
20 public function __construct($destination)
21 {
22 if (!is_string($destination)) {
24 }
25
26 $this->destination = $destination;
27 }
28
34 public function equals(Destination $otherDestination)
35 {
36 return $this->destination === $otherDestination->destination;
37 }
38
39 public function __toString()
40 {
41 return $this->destination;
42 }
43}
An exception for terminatinating execution or to throw for unit testing.
Value Object representing the current destination.
Definition: Destination.php:11
equals(Destination $otherDestination)
Definition: Destination.php:34