File Manager

Current Directory: /home/astoriaah/www/administrator/components/com_widgetkit/plugins/content/rss/src
Viewing File: /home/astoriaah/www/administrator/components/com_widgetkit/plugins/content/rss/src/RSSType.php
<?php namespace YOOtheme\Widgetkit\Content\rss; use YOOtheme\Framework\Application; use YOOtheme\Framework\Routing\ControllerInterface; use YOOtheme\Widgetkit\Content\Type; class RSSType extends Type implements ControllerInterface { /** * @param Application $app */ public function main(Application $app) { parent::main($app); $app->on( 'init', function ($event, $app) { $app['rss'] = function () use ($app) { return new RSSApp($app); }; }, -5 ); $this['controllers']->add($this); } public static function getRoutes() { return []; } }