From c6db0af5d4985f2d1864f036c428aa795c2d8d26 Mon Sep 17 00:00:00 2001 From: Ilyas Salikhov Date: Wed, 22 Oct 2014 15:38:26 +0400 Subject: [PATCH] Doc generation for the specific API version (error fix) --- Command/DumpCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Command/DumpCommand.php b/Command/DumpCommand.php index f3ef969..296c1b6 100644 --- a/Command/DumpCommand.php +++ b/Command/DumpCommand.php @@ -63,7 +63,7 @@ class DumpCommand extends ContainerAwareCommand $this->getContainer()->set('request', new Request(), 'request'); } - $extractor = $this->getContainer()->get('nelmio_api_doc.extractor.api_doc_extractor') + $extractor = $this->getContainer()->get('nelmio_api_doc.extractor.api_doc_extractor'); $extractedDoc = $input->hasOption('api-version') ? $extractor->allForVersion($input->getOption('api-version')) : $extractor->all();