Add function MDNodaLink->getEntityLink (wrapper around
mdnodarepository->getEntityLink)
This commit is contained in:
parent
9bca8f400e
commit
f79afa4ed7
|
@ -14,6 +14,17 @@ final class MDNodaLink {
|
||||||
public readonly MDNodaRepository $source;
|
public readonly MDNodaRepository $source;
|
||||||
public readonly string $id;
|
public readonly string $id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the link to the current entity.
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getEntityLink():string {
|
||||||
|
|
||||||
|
return $this->source->getEntityLink($this->id);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user