Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.218.99.99
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
vendor /
jms /
serializer /
src /
Builder /
Delete
Unzip
Name
Size
Permission
Date
Action
CallbackDriverFactory.php
785
B
-rw-rw-r--
2022-08-24 15:26
DefaultDriverFactory.php
2.46
KB
-rw-rw-r--
2022-08-24 15:26
DocBlockDriverFactory.php
978
B
-rw-rw-r--
2022-08-24 15:26
DriverFactoryInterface.php
281
B
-rw-rw-r--
2022-08-24 15:26
Save
Rename
<?php declare(strict_types=1); namespace JMS\Serializer\Builder; use Doctrine\Common\Annotations\Reader; use JMS\Serializer\Metadata\Driver\DocBlockDriver; use JMS\Serializer\Type\ParserInterface; use Metadata\Driver\DriverInterface; class DocBlockDriverFactory implements DriverFactoryInterface { /** * @var DriverFactoryInterface */ private $driverFactoryToDecorate; /** * @var ParserInterface|null */ private $typeParser; public function __construct(DriverFactoryInterface $driverFactoryToDecorate, ?ParserInterface $typeParser = null) { $this->driverFactoryToDecorate = $driverFactoryToDecorate; $this->typeParser = $typeParser; } public function createDriver(array $metadataDirs, Reader $annotationReader): DriverInterface { $driver = $this->driverFactoryToDecorate->createDriver($metadataDirs, $annotationReader); return new DocBlockDriver($driver, $this->typeParser); } }