Menu

## MagicParameter

MagicParameter.php : 21

Trait MagicParameter.

Allows to retrieve parameter in magic calls by index or name.

### Table of Contents

#### Methods

getMagicParameter() : mixed

### Methods

#### getMagicParameter()

MagicParameter.php : 23
`private getMagicParameter(array<string|int, mixed> $parameters, int $index, string $key, mixed $default) : mixed`

##### Parameters

$parameters : array<string|int, mixed>
$index : int
$key : string
$default : mixed

## Search results