PHP Class Neos\Neos\Domain\Service\NodeShortcutResolver

ファイルを表示 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_oe property

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

$node protected_oe property

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