src/Graviton/GeneratorBundle/Command/GenerateDynamicBundleCommand.php
private function generateResource(array $arguments, OutputInterface $output, JsonDefinition $jsonDef)
    {
        // controller?
        $routerBase = $jsonDef->getRouterBase();
        if ($routerBase === false || $this->isNotWhitelistedController($routerBase)) {
            $arguments['--no-controller'] = 'true';
        }

        $this->runner->executeCommand($arguments, $output, 'Create resource call failed, see above. Exiting.');
    }
private function generateResource(array $arguments, OutputInterface $output, JsonDefinition $jsonDef)
    {
        // controller?
        $routerBase = $jsonDef->getRouterBase();
        if ($routerBase === false || $this->isNotWhitelistedController($routerBase)) {
            $arguments['--no-controller'] = 'true';
        }

        $this->runner->executeCommand($arguments, $output, 'Create resource call failed, see above. Exiting.');
    }
private function generateResource ( array $ arguments , OutputInterface $ output , JsonDefinition $ jsonDef ) { // controller? $ routerBase = $ jsonDef -> getRouterBase ( ) ; if ( $ routerBase === false || $ this -> isNotWhitelistedController ( $ routerBase ) ) { $ arguments [ '--no-controller' ] = 'true' ; } $ this -> runner -> executeCommand ( $ arguments , $ output , 'Create resource call failed, see above. Exiting.' ) ; }
Gathers data for the command to run.

@param array           $arguments Set of cli arguments passed to the command
@param OutputInterface $output    Output channel to send messages to.
@param JsonDefinition  $jsonDef   Configuration of the service

@return void
@throws \LogicException
Gathers data for the command to run .