LinkResultService

final readonly class \TYPO3\CMS\Frontend\Typolink\LinkResultService

Table of Contents

Methods

fromState()  : LinkResultInterface|LinkResultStateInterface
getState()  : array
Extract state from a LinkResultInterface for serialization.

Methods

getState()

Extract state from a LinkResultInterface for serialization.

public getState(LinkResultInterface $linkResult) : array

Parameters

$linkResult : LinkResultInterface

Tags

throws
InvalidArgumentException

if $linkResult does not implement LinkResultStateInterface

Return values

array
On this page