芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/rentandbuyrealty.com/pay/vendor/jms/serializer/src/Builder/DefaultDriverFactory.php
typeParser = $typeParser ?: new Parser(); $this->propertyNamingStrategy = $propertyNamingStrategy; $this->expressionEvaluator = $expressionEvaluator; } public function createDriver(array $metadataDirs, Reader $annotationReader): DriverInterface { if (!empty($metadataDirs)) { $fileLocator = new FileLocator($metadataDirs); return new DriverChain([ new YamlDriver($fileLocator, $this->propertyNamingStrategy, $this->typeParser, $this->expressionEvaluator), new XmlDriver($fileLocator, $this->propertyNamingStrategy, $this->typeParser, $this->expressionEvaluator), new AnnotationDriver($annotationReader, $this->propertyNamingStrategy, $this->typeParser, $this->expressionEvaluator), ]); } return new AnnotationDriver($annotationReader, $this->propertyNamingStrategy, $this->typeParser); } }