class ArrayObj extends Component (View source)

Parses an array.

Properties

array $raw The array that contains the unprocessed value of each token.
array $values The array that contains the processed value of each token.

Methods

static mixed
parse(Parser $parser, TokensList $list, array $options = [])

No description

static mixed
build(mixed $component, array $options = [])

No description

string
__toString()

Builds the string representation of a component of this type.

__construct(array $raw = [], array $values = [])

No description

Details

static mixed parse(Parser $parser, TokensList $list, array $options = [])

Parameters

Parser $parser the parser that serves as context
TokensList $list the list of tokens that are being parsed
array $options parameters for parsing

Return Value

mixed

static mixed build(mixed $component, array $options = [])

Parameters

mixed $component the component to be built
array $options parameters for building

Return Value

mixed

string __toString()

Builds the string representation of a component of this type.

Return Value

string

See also

static::build

__construct(array $raw = [], array $values = [])

Parameters

array $raw the unprocessed values
array $values the processed values