Documentation

Enum
in package

Annotation that can be used to signal to the parser to check the available values during the parsing process.

Tags
since
2.4
author

Fabio B. Silva fabio.bat.silva@gmail.com

Annotation
Attributes

({ @Attribute("value", required = true, type = "array"), @Attribute("literal", required = false, type = "array") })

Table of Contents

$literal  : array<string|int, mixed>
Literal target declaration.
$value  : array<string|int, mixed>
__construct()  : mixed
Annotation constructor.

Properties

$literal

Literal target declaration.

public array<string|int, mixed> $literal

$value

public array<string|int, mixed> $value

Methods

__construct()

Annotation constructor.

public __construct(array<string|int, mixed> $values) : mixed
Parameters
$values : array<string|int, mixed>
Tags
throws
InvalidArgumentException
Return values
mixed

Search results