| 1 | <?php |
||
| 14 | class MigrateController extends AbstractActionController |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var Migration |
||
| 18 | */ |
||
| 19 | protected $migration; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var Generator |
||
| 23 | */ |
||
| 24 | protected $generator; |
||
| 25 | |||
| 26 | public function onDispatch(MvcEvent $e) |
||
| 34 | /** |
||
| 35 | * MigrateController constructor. |
||
| 36 | * |
||
| 37 | * @param Migration $migration |
||
| 38 | * @param Generator $generator |
||
| 39 | */ |
||
| 40 | public function __construct(Migration $migration, Generator $generator) |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Generate new migration skeleton class |
||
| 47 | */ |
||
| 48 | public function generateAction() |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @return Generator |
||
| 57 | */ |
||
| 58 | public function getGenerator() |
||
| 62 | } |
||
| 63 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.