AsDecorator
in package
Attributes
- #[Attribute]
- \Attribute::TARGET_CLASS
Table of Contents
Properties
- $decorates : string
- $onInvalid : int
- $priority : int
Methods
- __construct() : mixed
Properties
$decorates
public
string
$decorates
$onInvalid
public
int
$onInvalid
= ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE
$priority
public
int
$priority
= 0
Methods
__construct()
public
__construct(string $decorates[, int $priority = 0 ][, int $onInvalid = ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE ]) : mixed
Parameters
- $decorates : string
- $priority : int = 0
- $onInvalid : int = ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE