NullableAdapter
in package
implements
LinkRendererInterface
FinalYes
Table of Contents
Interfaces
- LinkRendererInterface
- Renders an HTML anchor pointing to the location of the provided element.
Properties
Methods
- __construct() : mixed
- render() : string|array<int, string>
- supports() : bool
- renderASeriesOfLinks() : array<int, string>
- Returns a series of anchors and strings for the given collection of routable items.
Properties
$rendererChain read-only
private
LinkRendererInterface
$rendererChain
Methods
__construct()
public
__construct(LinkRendererInterface $rendererChain) : mixed
Parameters
- $rendererChain : LinkRendererInterface
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
boolrenderASeriesOfLinks()
Returns a series of anchors and strings for the given collection of routable items.
private
renderASeriesOfLinks(iterable<string|int, mixed> $value, string $presentation) : array<int, string>
Parameters
- $value : iterable<string|int, mixed>
- $presentation : string