Documentation

ParameterCollection
in package

FinalYes
Tags
psalm-immutable
no-named-arguments

Parameter names are not covered by the backward compatibility promise for PHPUnit

Table of Contents

Properties

$parameters  : array<string|int, mixed>

Methods

fromArray()  : self
get()  : string
has()  : bool
__construct()  : mixed

Properties

Methods

fromArray()

public static fromArray(array<string|int, mixed> $parameters) : self
Parameters
$parameters : array<string|int, mixed>
Tags
psalm-param

array<string, string> $parameters

Return values
self

get()

public get(string $name) : string
Parameters
$name : string
Tags
throws
ParameterDoesNotExistException
Return values
string

__construct()

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

        
On this page

Search results