/** * Registers a single plugin object. * @param PluginBase $plugin * @return void */ public function bootPlugin($plugin) { if (!$plugin || $plugin->disabled) { return; } if (!self::$noInit || $plugin->elevated) { $plugin->boot(); } }
public function register() { parent::register(); $this->registerConsoleCommand('kilfeddercalendar.updateCalendars', 'Kilfedder\\GoogleCalendar\\Console\\UpdateCalendars'); $this->registerConsoleCommand('kilfeddercalendar.updateEvents', 'Kilfedder\\GoogleCalendar\\Console\\UpdateEvents'); }