15
15
use Symfony \Component \Console \Input \InputInterface ;
16
16
17
17
/**
18
- * Interface that all maker commands must implement
18
+ * Interface that all maker commands must implement.
19
19
*
20
20
* @author Ryan Weaver <[email protected] >
21
21
*/
22
22
interface MakerInterface
23
23
{
24
24
/**
25
- * Return the command name for your maker (e.g. make:report)
25
+ * Return the command name for your maker (e.g. make:report).
26
26
*
27
27
* @return string
28
28
*/
@@ -34,7 +34,7 @@ public static function getCommandName(): string;
34
34
* By default, all arguments will be asked interactively. If you want
35
35
* to avoid that, use the $inputConfig->setArgumentAsNonInteractive() method.
36
36
*
37
- * @param Command $command
37
+ * @param Command $command
38
38
* @param InputConfiguration $inputConfig
39
39
*/
40
40
public function configureCommand (Command $ command , InputConfiguration $ inputConfig ): void ;
@@ -50,8 +50,8 @@ public function configureDependencies(DependencyBuilder $dependencies): void;
50
50
* If necessary, you can use this method to interactively ask the user for input.
51
51
*
52
52
* @param InputInterface $input
53
- * @param ConsoleStyle $io
54
- * @param Command $command
53
+ * @param ConsoleStyle $io
54
+ * @param Command $command
55
55
*/
56
56
public function interact (InputInterface $ input , ConsoleStyle $ io , Command $ command ): void ;
57
57
@@ -60,6 +60,7 @@ public function interact(InputInterface $input, ConsoleStyle $io, Command $comma
60
60
* template files returned from getFiles().
61
61
*
62
62
* @param InputInterface $input
63
+ *
63
64
* @return array
64
65
*/
65
66
public function getParameters (InputInterface $ input ): array ;
@@ -74,14 +75,15 @@ public function getParameters(InputInterface $input): array;
74
75
* );
75
76
*
76
77
* @param array $params The parameters returned from getParameters()
78
+ *
77
79
* @return array
78
80
*/
79
81
public function getFiles (array $ params ): array ;
80
82
81
83
/**
82
84
* An opportunity to write a nice message after generation finishes.
83
85
*
84
- * @param array $params
86
+ * @param array $params
85
87
* @param ConsoleStyle $io
86
88
*/
87
89
public function writeNextStepsMessage (array $ params , ConsoleStyle $ io ): void ;
0 commit comments