Total Complexity | 1 |
Total Lines | 12 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | #[Immutable] |
||
21 | #[\Attribute(\Attribute::TARGET_CLASS)] |
||
22 | final class AsDeprecated |
||
23 | { |
||
24 | public const DEFAULT_DEPRECATION_TEMPLATE = 'The "%service_id%" service is deprecated. You should stop using it, as it will be removed in the future.'; |
||
25 | |||
26 | /** @param string $message the deprecation template must contain the "%service_id%" placeholder */ |
||
27 | public function __construct( |
||
32 | } |
||
33 |