11 Commits

Author SHA1 Message Date
Fred Cox
9b734b22bd Remove incorrect usage of hasOption
`hasOption` is confusingly named, it actually checks that the option has been created, not if the user has passed the option. So in this case its always true.
Also changed a weird usage of `in_array`.
2016-01-29 10:56:25 +02:00
Patrick Pokatilo
8c336487e7 Check for deprecated method enterScope() in DumpCommand 2015-12-15 17:04:17 +01:00
Mikhail Shamin
1a92a112bc Added view option to api:doc:dump command 2015-05-26 18:09:29 +07:00
rajasaur
9eee2e263f Fix DumpCommand to generate html with/out sandbox
api:doc:dump --format=html always disables the Sandbox since the check in
DumpCommand seems to be wrong. Fixed that as well as introduce a dummy
Request Object as the layout.html.twig expects an app.request object.
2013-12-06 15:28:19 +05:30
William DURAND
374ee9a878 Add new option to the command line: --no-sandbox 2012-07-18 16:51:53 +02:00
Jordi Boggiano
a74520057a Add license 2012-04-13 11:03:05 +02:00
William DURAND
5bd05379ec Fixed naming 2012-04-12 19:10:16 +02:00
William DURAND
f172e74db7 Renamed the bundle 2012-04-12 18:37:42 +02:00
William DURAND
6285ecebb0 [ApiBundle] Added more comments 2012-04-12 17:48:21 +02:00
William DURAND
c4c7d14354 [ApiBundle] Added a controller to get a complete documentation
* Added an Extractor to get the documentation from all annotated
controllers
* Refactored some parts (command, event listener, ...)
2012-04-12 12:50:20 +02:00
William DURAND
6fc0d8619e Added a command line to dump the whole documentation in markdown or json 2012-04-12 01:42:52 +02:00