✏️ 正在编辑: ValidateSchemaCommand.php
路径:
/home/bpioifn/www/pigmentse/vendor/doctrine/doctrine-bundle/Command/Proxy/ValidateSchemaCommand.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php namespace Doctrine\Bundle\DoctrineBundle\Command\Proxy; use Doctrine\ORM\Tools\Console\Command\ValidateSchemaCommand as DoctrineValidateSchemaCommand; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; /** * Command to run Doctrine ValidateSchema() on the current mappings. */ class ValidateSchemaCommand extends DoctrineValidateSchemaCommand { /** * {@inheritDoc} */ protected function configure() { parent::configure(); $this ->setName('doctrine:schema:validate') ->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); } }
💾 保存文件
← 返回文件管理器