@@ -110,6 +110,9 @@ discard block |
||
110 | 110 | } |
111 | 111 | } |
112 | 112 | |
113 | + /** |
|
114 | + * @param Content $content |
|
115 | + */ |
|
113 | 116 | protected function matchAnd($conditionsArray, $content = null) |
114 | 117 | { |
115 | 118 | /// @todo introduce proper re-validation of all child conditions |
@@ -133,6 +136,9 @@ discard block |
||
133 | 136 | return $results; |
134 | 137 | } |
135 | 138 | |
139 | + /** |
|
140 | + * @param Content $content |
|
141 | + */ |
|
136 | 142 | protected function matchOr($conditionsArray, $content = null) |
137 | 143 | { |
138 | 144 | /// @todo introduce proper re-validation of all child conditions |
@@ -88,6 +88,12 @@ discard block |
||
88 | 88 | } |
89 | 89 | } |
90 | 90 | |
91 | + /** |
|
92 | + * @param InputInterface $input |
|
93 | + * @param OutputInterface $output |
|
94 | + * @param MigrationDefinition[] $toExecute |
|
95 | + * @param double $start |
|
96 | + */ |
|
91 | 97 | protected function executeAsParent($input, $output, $toExecute, $start) |
92 | 98 | { |
93 | 99 | $paths = $this->groupMigrationsByPath($toExecute); |
@@ -157,6 +163,12 @@ discard block |
||
157 | 163 | return $failed; |
158 | 164 | } |
159 | 165 | |
166 | + /** |
|
167 | + * @param InputInterface $input |
|
168 | + * @param OutputInterface $output |
|
169 | + * @param MigrationDefinition[] $toExecute |
|
170 | + * @param \Kaliop\eZMigrationBundle\Core\MigrationService $migrationService |
|
171 | + */ |
|
160 | 172 | protected function executeAsChild($input, $output, $toExecute, $force, $migrationService) |
161 | 173 | { |
162 | 174 | // @todo disable signal slots that are harmful during migrations, if any |
@@ -260,7 +272,7 @@ discard block |
||
260 | 272 | |
261 | 273 | /** |
262 | 274 | * @param string $paths |
263 | - * @param $migrationService |
|
275 | + * @param \Kaliop\eZMigrationBundle\Core\MigrationService $migrationService |
|
264 | 276 | * @param bool $force |
265 | 277 | * @param bool $isChild when not in child mode, do not waste time parsing migrations |
266 | 278 | * @return MigrationDefinition[] parsed or unparsed, depending on |
@@ -193,6 +193,9 @@ |
||
193 | 193 | ); |
194 | 194 | } |
195 | 195 | |
196 | + /** |
|
197 | + * @param ProcessBuilder $builder |
|
198 | + */ |
|
196 | 199 | protected function executeMigrationInSeparateProcess($migrationDefinition, $migrationService, $builder, $builderArgs, $feedback = true) |
197 | 200 | { |
198 | 201 | $process = $builder |