@@ -55,27 +55,27 @@ protected function configure()
55
55
),
56
56
new InputOption (
57
57
'generate-annotations ' , null , InputOption::VALUE_OPTIONAL ,
58
- 'Flag to define if generator should generate annotation metadata on documents. ' , false
58
+ 'Flag to define if the generator should generate annotation metadata on documents. ' , false
59
59
),
60
60
new InputOption (
61
61
'generate-methods ' , null , InputOption::VALUE_OPTIONAL ,
62
- 'Flag to define if generator should generate stub methods on documents. ' , true
62
+ 'Flag to define if the generator should generate stub methods on documents. ' , true
63
63
),
64
64
new InputOption (
65
65
'regenerate-documents ' , null , InputOption::VALUE_OPTIONAL ,
66
- 'Flag to define if generator should regenerate document if it exists. ' , false
66
+ 'Flag to define if the generator should regenerate a document if it exists. ' , false
67
67
),
68
68
new InputOption (
69
69
'update-documents ' , null , InputOption::VALUE_OPTIONAL ,
70
- 'Flag to define if generator should only update document if it exists. ' , true
70
+ 'Flag to define if the generator should only update a document if it exists. ' , true
71
71
),
72
72
new InputOption (
73
73
'extend ' , null , InputOption::VALUE_OPTIONAL ,
74
74
'Defines a base class to be extended by generated document classes. '
75
75
),
76
76
new InputOption (
77
77
'num-spaces ' , null , InputOption::VALUE_OPTIONAL ,
78
- 'Defines the number of indentation spaces ' , 4
78
+ 'Defines the number of indentation spaces. ' , 4
79
79
)
80
80
))
81
81
->setHelp (<<<EOT
@@ -151,7 +151,10 @@ protected function execute(Console\Input\InputInterface $input, Console\Output\O
151
151
$ documentGenerator ->generate ($ metadatas , $ destPath );
152
152
153
153
// Outputting information message
154
- $ output ->writeln (PHP_EOL . sprintf ('Document classes generated to "<info>%s</INFO>". ' , $ destPath ));
154
+ $ output ->writeln (array (
155
+ '' ,
156
+ sprintf ('Document classes have been generated to "<info>%s</info>". ' , $ destPath )
157
+ ));
155
158
} else {
156
159
$ output ->writeln ('No Metadata Classes to process. ' );
157
160
}
0 commit comments