Template.php 307 B

123456789101112131415161718
  1. <?php
  2. namespace EasySwoole\DoctrineAnnotation\Tests\Fixtures\Annotation;
  3. /** @Annotation */
  4. class Template
  5. {
  6. /** @var mixed */
  7. public $name;
  8. /**
  9. * @param mixed[] $values
  10. */
  11. public function __construct(array $values)
  12. {
  13. $this->name = $values['value'] ?? null;
  14. }
  15. }