/** * Runs the module. */ public function run() { parent::run(); $container = $this->container; // after normal generation has finished, also trigger docs generation $container->get('event_manager')->subscribe(DidGenerate::getName(), function () use($container) { $container->get('console')->call('docs'); }); }
/** * This method is called on the module during the run phase. If you need you can include any logic * here. */ public function run() { parent::run(); }