diff --git a/src/Types/AggregatedType.php b/src/Types/AggregatedType.php index 6f9e879..aa5a9d2 100644 --- a/src/Types/AggregatedType.php +++ b/src/Types/AggregatedType.php @@ -50,6 +50,13 @@ public function __construct(array $types, string $token) $this->token = $token; } + /** + * Returns the token used to separate the types + */ + public function getToken(): string { + return $this->token; + } + /** * Returns the type at the given index. */