When
in package
An attribute to tell under which environment this class should be registered as a service.
Tags
Attributes
- #[Attribute]
- \Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD | \Attribute::TARGET_FUNCTION | \Attribute::IS_REPEATABLE
Table of Contents
Properties
- $env : string
Methods
- __construct() : mixed
Properties
$env
public
string
$env
Methods
__construct()
public
__construct(string $env) : mixed
Parameters
- $env : string