/** * Force the auto update when called through CLI */ public function process() { $service = new YouTubeFeed(); $service->doAutoUpdate(true); }
/** * Perform the auto update */ public function onAfterInit() { $service = new YouTubeFeed(); $service->doAutoUpdate(); }