phpDocumentor

ArrayOfTypeAdapter
in package
implements LinkRendererInterface

FinalYes

Converts an array with types into a string-based representation of these types.

Tags
todo

How and why is this adapter used? The assumption in the supports method is weird and that this adapter involves arrays is oddly specific. Is this a potential bug?

Table of Contents

Interfaces

LinkRendererInterface
Renders an HTML anchor pointing to the location of the provided element.

Methods

render()  : string|array<int, string>
supports()  : bool
renderType()  : array<int, string>

Methods

render()

public render(mixed $value, string $presentation) : string|array<int, string>
Parameters
$value : mixed
$presentation : string
Return values
string|array<int, string>

supports()

public supports(mixed $value) : bool
Parameters
$value : mixed
Return values
bool

renderType()

private renderType(iterable<string|int, Type$value) : array<int, string>
Parameters
$value : iterable<string|int, Type>
Return values
array<int, string>

        
On this page

Search results