class SplashScreen

Constants

SCREENS

BACKGROUND_PATTERN

Opaque hex colours only: a see-through background would leave the splash screen see-through, and phones show that as black.

VERSION

DIRECTORY

Properties

protected Cloud $assets

Methods

__construct( SettingsRepositoryInterface $settings, Branding $branding, IconSet $icons, UrlGenerator $url, Factory $filesystemFactory)

No description

array
links()

No description

string|null
url(int $width, int $height)

No description

string|null
image(int $width, int $height)

No description

string|null
version()

No description

string
background()

No description

string
type()

No description

array|null
source()

No description

void
forgetOutdated()

No description

array
sizes()

No description

string
address(string $version, int $width, int $height)

No description

string
path(string $version, string $size, string $extension)

No description

Details

__construct( SettingsRepositoryInterface $settings, Branding $branding, IconSet $icons, UrlGenerator $url, Factory $filesystemFactory)

Parameters

SettingsRepositoryInterface $settings
Branding $branding
IconSet $icons
UrlGenerator $url
Factory $filesystemFactory

Return Value

array

string|null url(int $width, int $height)

Parameters

int $width
int $height

Return Value

string|null

string|null image(int $width, int $height)

Parameters

int $width
int $height

Return Value

string|null

string|null version()

Return Value

string|null

string background()

Return Value

string

string type()

Return Value

string

protected array|null source()

Return Value

array|null

void forgetOutdated()

Return Value

void

protected array sizes()

Return Value

array pixels across and down, as "WIDTHxHEIGHT" => pixels to a point

protected string address(string $version, int $width, int $height)

Parameters

string $version
int $width
int $height

Return Value

string

protected string path(string $version, string $size, string $extension)

Parameters

string $version
string $size
string $extension

Return Value

string