Menu

## ArrayDefinition
in package
implements Definition

ArrayDefinition.php : 13

Definition of an array containing values or references.

##### Tags

since
  5.0
author

  Matthieu Napoli matthieu@mnapoli.fr

### Table of Contents

#### Interfaces

Definition

#### Properties

$name : string
  Entry name.
$values : array<string|int, mixed>

#### Methods

__construct() : mixed
__toString() : string
getName() : string
getValues() : array<string|int, mixed>
replaceNestedDefinitions() : void
setName() : void

### Properties

#### $name

ArrayDefinition.php : 16

Entry name.

`private string $name = ''`

#### $values

ArrayDefinition.php : 19
`private array<string|int, mixed> $values`

### Methods

#### __construct()

ArrayDefinition.php : 18
`public __construct(array<string|int, mixed> $values) : mixed`

##### Parameters

$values : array<string|int, mixed>

#### __toString()

ArrayDefinition.php : 43
`public __toString() : string`

##### Return values

string

#### getName()

ArrayDefinition.php : 23
`public getName() : string`

##### Return values

string

#### getValues()

ArrayDefinition.php : 33
`public getValues() : array<string|int, mixed>`

##### Return values

array<string|int, mixed>

#### replaceNestedDefinitions()

ArrayDefinition.php : 38
`public replaceNestedDefinitions(callable $replacer) : void`

##### Parameters

$replacer : callable

#### setName()

ArrayDefinition.php : 28
`public setName(string $name) : void`

##### Parameters

$name : string

## Search results