Copied!

AbstractShareComponent

AbstractShareComponent.php : 15
Abstract
Implements ComponentInterface

Methods

public__construct()

AbstractShareComponent.php : 27
public __construct(Environment $twig, string $template[, array<string, mixed> $parameters = [] ])

Parameters

Name Type Default value Description
$twig Environment - -
$template string - -
$parameters array<string, mixed> [] -

publicrender()

AbstractShareComponent.php : 49
public render([array<string, mixed> $parameters = [] ]) : string

Parameters

Name Type Default value Description
$parameters array<string, mixed> [] -

Return values

string

Tags
Throws
LoaderError
Throws
RuntimeError
Throws
SyntaxError

protectedgetActiveSession()

AbstractShareComponent.php : 40
protected abstract getActiveSession(array<string, mixed> $parameters) : SessionInterface|null

Parameters

Name Type Default value Description
$parameters array<string, mixed> - -

Return values

SessionInterface|null