| 1 | <?php |
| 2 | |
| 3 | /* |
| 4 | * This file is part of the Symfony package. |
| 5 | * |
| 6 | * (c) Fabien Potencier <[email protected]> |
| 7 | * |
| 8 | * For the full copyright and license information, please view the LICENSE |
| 9 | * file that was distributed with this source code. |
| 10 | */ |
| 11 | |
| 12 | namespace Symfony\Component\Serializer\Annotation; |
| 13 | |
| 14 | // do not deprecate in 6.4/7.0, to make it easier for the ecosystem to support 6.4, 7.4 and 8.0 simultaneously |
| 15 | |
| 16 | class_exists(\Symfony\Component\Serializer\Attribute\Context::class); |
| 17 | |
| 18 | if (false) { |
| 19 | /** |
| 20 | * @deprecated since Symfony 7.4, use {@see \Symfony\Component\Serializer\Attribute\Context} instead |
| 21 | */ |
| 22 | #[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_PROPERTY | \Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)] |
| 23 | class Context extends \Symfony\Component\Serializer\Attribute\Context |
| 24 | { |
| 25 | } |
| 26 | } |