Documentation

ContainerParametersResource
in package
implements ResourceInterface

Tracks container parameters.

Tags
author

Maxime Steinhausser maxime.steinhausser@gmail.com

final

Interfaces, Classes and Traits

ResourceInterface
ResourceInterface is the interface that must be implemented by all Resource classes.

Table of Contents

$parameters  : mixed
__construct()  : mixed
__toString()  : string
Returns a string representation of the Resource.
getParameters()  : array<string|int, mixed>

Properties

Methods

__construct()

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

The container parameters to track

Return values
mixed

__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
string

Search results