API reference / Quittio \ Core \ View
ResolvedLogo
final readonly class in quittio/core
Quittio\Core\View\ResolvedLogo · Source
A logo of the presentation as the renderer gets it: a local file or a checked data URI (Pdf\LogoCache), resolved before the view model is built, so that the view layer does no I/O.
Properties#
| Property | Type | Description |
|---|---|---|
$logo readonly | string | the logo of the presentation (path, data URI or URL) |
$src readonly | string|null | the resolved value for the template; null when a remote logo could not be loaded |
Methods#
| Method | Description |
|---|---|
->__construct() |
__construct()#
public function __construct(string $logo, string|null $src)| Parameter | Type | Description |
|---|---|---|
$logo | string | the logo of the presentation (path, data URI or URL) |
$src | string|null | the resolved value for the template; null when a remote logo could not be loaded |