diff --git a/src/Surfnet/Stepup/Configuration/Value/RaLocationId.php b/src/Surfnet/Stepup/Configuration/Value/RaLocationId.php index 5e94db189..9c8decca0 100644 --- a/src/Surfnet/Stepup/Configuration/Value/RaLocationId.php +++ b/src/Surfnet/Stepup/Configuration/Value/RaLocationId.php @@ -18,9 +18,10 @@ namespace Surfnet\Stepup\Configuration\Value; +use JsonSerializable; use Surfnet\Stepup\Exception\InvalidArgumentException; -final class RaLocationId +final class RaLocationId implements JsonSerializable { /** * @var string @@ -48,6 +49,14 @@ public function equals(RaLocationId $otherRaLocationId) return $this->raLocationId === $otherRaLocationId->raLocationId; } + /** + * @return string + */ + public function getRaLocationId() + { + return $this->raLocationId; + } + public function jsonSerialize() { return (string) $this;