LinkResultService

Read onlyYes
FinalYes
Internal

Might be removed in TYPO3 v15, when LinkResultInterface is consolidated

Table of Contents

Methods

fromState()  : LinkResultInterface|LinkResultStateInterface
getState()  : array<string|int, mixed>
Extract state from a LinkResultInterface for serialization.

Methods

getState()

Extract state from a LinkResultInterface for serialization.

public getState(LinkResultInterface $linkResult) : array<string|int, mixed>
Parameters
$linkResult : LinkResultInterface
Tags
throws
InvalidArgumentException

if $linkResult does not implement LinkResultStateInterface

Return values
array<string|int, mixed>

        
On this page

Search results