$name
$name : string
Model representing a template.
$transformations : array<mixed,\phpDocumentor\Transformer\Transformation>
$parameters : array<mixed,\phpDocumentor\Transformer\Template\Parameter>
offsetSet(integer|string $offset, \phpDocumentor\Transformer\Transformation $value) : void
Sets a transformation at the given offset.
integer|string | $offset | The offset to place the value at. |
\phpDocumentor\Transformer\Transformation | $value | The transformation to add to this template. |
if an invalid item was received
offsetGet(integer|string $offset) : \phpDocumentor\Transformer\Transformation
Gets the transformation at the given offset.
integer|string | $offset | The offset to retrieve from. |
current() : \phpDocumentor\Transformer\Transformation
Return the current element.
getParameters() : array<mixed,\phpDocumentor\Transformer\Template\Parameter>
Returns the parameters associated with this template.
setParameter(string|integer $key, \phpDocumentor\Transformer\Template\Parameter $value) : void
Sets a new parameter in the collection.
string|integer | $key | |
\phpDocumentor\Transformer\Template\Parameter | $value |