ContainerParametersResource
in package
implements
ResourceInterface
Tracks container parameters.
Tags
Table of Contents
Interfaces
- ResourceInterface
- ResourceInterface is the interface that must be implemented by all Resource classes.
Properties
- $parameters : array<string|int, mixed>
Methods
- __construct() : mixed
- __toString() : string
- Returns a string representation of the Resource.
- getParameters() : array<string|int, mixed>
Properties
$parameters
private
array<string|int, mixed>
$parameters
Methods
__construct()
public
__construct(array<string|int, mixed> $parameters) : mixed
Parameters
- $parameters : array<string|int, mixed>
-
The container parameters to track
__toString()
Returns a string representation of the Resource.
public
__toString() : string
This method is necessary to allow for resource de-duplication, for example by means of array_unique(). The string returned need not have a particular meaning, but has to be identical for different ResourceInterface instances referring to the same resource; and it should be unlikely to collide with that of other, unrelated resource instances.
Return values
stringgetParameters()
public
getParameters() : array<string|int, mixed>