RequireJS implements JsonSerializable

Table of Contents

Interfaces

JsonSerializable

Properties

$config  : array<string|int, mixed>
$uri  : string

Methods

__construct()  : mixed
create()  : self
getConfig()  : array<string|int, mixed>
getUri()  : string
jsonSerialize()  : array<string|int, mixed>

Properties

$config

protected array<string|int, mixed> $config

Methods

__construct()

public __construct(string $uri, array<string|int, mixed> $config) : mixed
Parameters
$uri : string

URI to load require.js implementation

$config : array<string|int, mixed>

require.js initialization configuration

create()

public static create(string $uri, array<string|int, mixed> $config) : self
Parameters
$uri : string
$config : array<string|int, mixed>
Return values
self

getConfig()

public getConfig() : array<string|int, mixed>
Return values
array<string|int, mixed>

getUri()

public getUri() : string
Return values
string

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results