RequireJS implements JsonSerializable
Table of Contents
Interfaces
- JsonSerializable
Properties
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
$uri
protected
string
$uri
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
selfgetConfig()
public
getConfig() : array<string|int, mixed>
Return values
array<string|int, mixed>getUri()
public
getUri() : string
Return values
stringjsonSerialize()
public
jsonSerialize() : array<string|int, mixed>