| Methods |
public
|
__construct(string $id, bool $public = false)
|
#
|
public
|
isPublic(): bool
Checks if this DI Alias should be public or not.
Checks if this DI Alias should be public or not.
|
#
|
public
|
setPublic(bool $boolean): $this
Sets if this Alias is public.
Sets if this Alias is public.
|
#
|
public
|
isPrivate(): bool
Whether this alias is private.
Whether this alias is private.
|
#
|
public
|
setDeprecated(string $package, string $version, string $message): $this
Whether this alias is deprecated, that means it should not be referenced
anymore.
Whether this alias is deprecated, that means it should not be referenced
anymore.
Parameters
| $package |
The name of the composer package that is triggering the deprecation
|
| $version |
The version of the package that introduced the deprecation
|
| $message |
The deprecation message to use
|
Throws
|
#
|
public
|
isDeprecated(): bool
|
#
|
public
|
getDeprecation(string $id): array
Parameters
| $id |
Service id relying on this definition
|
|
#
|
public
|
__toString(): string
|
#
|