@@ -34,7 +34,13 @@ This class provides various helper methods for building customized setup
3434
3535 *public* __construct($input, $output)
3636
37- [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L65)
37+ [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L66)
38+
39+ #### addModulesToComposer()
40+
41+ *protected* addModulesToComposer($modules)
42+
43+ [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L251)
3844
3945#### addStyles()
4046
@@ -64,7 +70,7 @@ $this->ask('do you want to proceed (y/n)', true);
6470 * `param null` $answer
6571 * `return` mixed|string
6672
67- [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L107 )
73+ [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L108 )
6874
6975#### breakParts()
7076
@@ -76,7 +82,7 @@ $this->ask('do you want to proceed (y/n)', true);
7682
7783 *protected* checkInstalled($dir = null)
7884
79- [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L208 )
85+ [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L209 )
8086
8187#### completeSuffix()
8288
@@ -95,7 +101,7 @@ Requires a suite config as array in 3rd parameter.
95101 * `param` $directory
96102 * `param` $suiteConfig
97103
98- [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L223 )
104+ [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L224 )
99105
100106#### createDirectoryFor()
101107
@@ -110,7 +116,7 @@ Requires a suite config as array in 3rd parameter.
110116Create an empty directory and add a placeholder file into it
111117 * `param` $dir
112118
113- [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L195 )
119+ [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L196 )
114120
115121#### createFile()
116122
@@ -127,7 +133,7 @@ Create a helper class inside a directory
127133 * `param` $name
128134 * `param` $directory
129135
130- [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L174 )
136+ [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L175 )
131137
132138#### getNamespaceHeader()
133139
@@ -157,15 +163,15 @@ Create a helper class inside a directory
157163
158164 *protected* gitIgnore($path)
159165
160- [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L201 )
166+ [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L202 )
161167
162168#### initDir()
163169
164170 *public* initDir($workDir)
165171
166172Change the directory where Codeception should be installed.
167173
168- [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L75 )
174+ [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L76 )
169175
170176#### removeSuffix()
171177
@@ -189,7 +195,7 @@ $this->say('Welcome to Setup');
189195
190196 * `param string` $message
191197
192- [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L136 )
198+ [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L137 )
193199
194200#### sayInfo()
195201
@@ -198,7 +204,7 @@ $this->say('Welcome to Setup');
198204Print info message
199205 * `param` $message
200206
201- [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L163 )
207+ [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L164 )
202208
203209#### saySuccess()
204210
@@ -207,7 +213,7 @@ Print info message
207213Print a successful message
208214 * `param` $message
209215
210- [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L145 )
216+ [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L146 )
211217
212218#### sayWarning()
213219
@@ -216,7 +222,7 @@ Print a successful message
216222Print warning message
217223 * `param` $message
218224
219- [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L154 )
225+ [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L155 )
220226
221227#### setup()
222228
@@ -225,6 +231,6 @@ Print warning message
225231Override this class to create customized setup.
226232 * `return` mixed
227233
228- [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L88 )
234+ [See source](https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php#L89 )
229235
230236<p >  ; </p ><div class =" alert alert-warning " >Reference is taken from the source code. <a href =" https://github.com/Codeception/Codeception/blob/4.0/src/Codeception/InitTemplate.php " >Help us to improve documentation. Edit module reference</a ></div >
0 commit comments