src/Task/Doctrine/loadOrmTasks.php
protected function runDoctrineCommand(SymfonyCommand $command, array $opt = [], array $validOpts = [], array $arg = [])
    {
        $helperSet = $this->getEntityManagerHelperSet();
        $command->setHelperSet($helperSet);

        $command = $this->taskSymfonyCommand($command);

        foreach ($opt as $key => $value) {
            if (!in_array($key, $validOpts)) {
                continue;
            }

            $command->opt($key, $value);
        }

        foreach ($arg as $key => $value) {
            $command->arg($key, $value);
        }

        $command->run();
    }
protected function runDoctrineCommand(SymfonyCommand $command, array $opt = [], array $validOpts = [], array $arg = [])
    {
        $helperSet = $this->getEntityManagerHelperSet();
        $command->setHelperSet($helperSet);

        $command = $this->taskSymfonyCommand($command);

        foreach ($opt as $key => $value) {
            if (!in_array($key, $validOpts)) {
                continue;
            }

            $command->opt($key, $value);
        }

        foreach ($arg as $key => $value) {
            $command->arg($key, $value);
        }

        $command->run();
    }
protected function runDoctrineCommand ( SymfonyCommand $ command , array $ opt = [ ] , array $ validOpts = [ ] , array $ arg = [ ] ) { $ helperSet = $ this -> getEntityManagerHelperSet ( ) ; $ command -> setHelperSet ( $ helperSet ) ; $ command = $ this -> taskSymfonyCommand ( $ command ) ; foreach ( $ opt as $ key => $ value ) { if ( ! in_array ( $ key , $ validOpts ) ) { continue ; } $ command -> opt ( $ key , $ value ) ; } foreach ( $ arg as $ key => $ value ) { $ command -> arg ( $ key , $ value ) ; } $ command -> run ( ) ; }
Adds options to a symfony command

@param SymfonyCommand $command
@param array          $opt
@param array          $validOpts
@param array          $arg
Adds options to a symfony command