![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mautic.corals.io/vendor/jms/serializer/src/Metadata/Driver/ |
<?php declare(strict_types=1); namespace JMS\Serializer\Metadata\Driver; use Doctrine\Common\Annotations\Reader; use JMS\Serializer\Expression\CompilableExpressionEvaluatorInterface; use JMS\Serializer\Naming\PropertyNamingStrategyInterface; use JMS\Serializer\Type\ParserInterface; /** * @deprecated */ class AnnotationDriver extends AnnotationOrAttributeDriver { /** * @var Reader */ private $reader; public function __construct(Reader $reader, PropertyNamingStrategyInterface $namingStrategy, ?ParserInterface $typeParser = null, ?CompilableExpressionEvaluatorInterface $expressionEvaluator = null) { parent::__construct($namingStrategy, $typeParser, $expressionEvaluator, $reader); $this->reader = $reader; } /** * @return list<object> */ protected function getClassAnnotations(\ReflectionClass $class): array { return $this->reader->getClassAnnotations($class); } /** * @return list<object> */ protected function getMethodAnnotations(\ReflectionMethod $method): array { return $this->reader->getMethodAnnotations($method); } /** * @return list<object> */ protected function getPropertyAnnotations(\ReflectionProperty $property): array { return $this->reader->getPropertyAnnotations($property); } }