class LinkHelper implements ProtectedContextAwareInterface (View source)

Eel helper for the linking service

Properties

protected LoggerInterface $systemLogger
protected AssetRepository $assetRepository
protected ResourceManager $resourceManager
protected ContentRepositoryRegistry $contentRepositoryRegistry

Methods

bool
hasSupportedScheme(string|Uri $uri)

No description

string
getScheme(string|UriInterface $uri)

No description

string|null
resolveNodeUri(Uri $uri, Node $contextNode, ControllerContext $controllerContext)

No description

string
resolveAssetUri(Uri $uri)

No description

AssetInterface|null
convertUriToObject(Uri $uri, Node $contextNode = null)

No description

bool
allowsCallOfMethod(string $methodName)

No description

Details

bool hasSupportedScheme(string|Uri $uri)

No description

Parameters

string|Uri $uri

Return Value

bool

string getScheme(string|UriInterface $uri)

No description

Parameters

string|UriInterface $uri

Return Value

string

string|null resolveNodeUri(Uri $uri, Node $contextNode, ControllerContext $controllerContext)

No description

Parameters

Uri $uri
Node $contextNode
ControllerContext $controllerContext

Return Value

string|null

string resolveAssetUri(Uri $uri)

No description

Parameters

Uri $uri

Return Value

string

AssetInterface|null convertUriToObject(Uri $uri, Node $contextNode = null)

No description

Parameters

Uri $uri
Node $contextNode

Return Value

AssetInterface|null

bool allowsCallOfMethod(string $methodName)

No description

Parameters

string $methodName

Return Value

bool