PHP Class Neos\Neos\Domain\Service\NodeShortcutResolver

Show file Open project: neos/neos-development-collection Class Usage Examples

Protected Properties

Property Type Description
$linkingService Neos\Neos\Service\LinkingService
$node Neos\ContentRepository\Domain\Model\NodeInterface

Public Methods

Method Description
resolveShortcutTarget ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : Neos\ContentRepository\Domain\Model\NodeInterface | string | null Resolves a shortcut node to the target. The return value can be

Method Details

resolveShortcutTarget() public method

* a NodeInterface instance if the target is a node or a node:// URI * a string (in case the target is a plain text URI or an asset:// URI) * NULL in case the shortcut cannot be resolved
public resolveShortcutTarget ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : Neos\ContentRepository\Domain\Model\NodeInterface | string | null
$node Neos\ContentRepository\Domain\Model\NodeInterface
return Neos\ContentRepository\Domain\Model\NodeInterface | string | null

Property Details

$linkingService protected property

protected LinkingService,Neos\Neos\Service $linkingService
return Neos\Neos\Service\LinkingService

$node protected property

protected NodeInterface,Neos\ContentRepository\Domain\Model $node
return Neos\ContentRepository\Domain\Model\NodeInterface