1
0

Required.php 670 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Contracts\Service\Attribute;
  11. use Attribute;
  12. /**
  13. * A required dependency.
  14. *
  15. * This attribute indicates that a property holds a required dependency. The annotated property or method should be
  16. * considered during the instantiation process of the containing class.
  17. *
  18. * @author Alexander M. Turek <me@derrabus.de>
  19. */
  20. #[Attribute(Attribute::TARGET_METHOD | Attribute::TARGET_PROPERTY)]
  21. final class Required
  22. {
  23. }