Skip to content

Commit

Permalink
Add missing getter
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Jan 17, 2025
1 parent 54a0a2f commit 9ba53b7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/TypedTextContentTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,17 @@ public static function fromXML(DOMElement $xml): static
}


/**
* Get the typed content of the element
*
* @return \SimpleSAML\XML\Type\ValueTypeInterface
*/
public function getContent(): ValueTypeInterface
{
return $this->content;
}


/**
* Create XML from this class
*
Expand Down

0 comments on commit 9ba53b7

Please sign in to comment.