* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Silex\Api; use Silex\Application; use Silex\ControllerCollection; /** * Interface for controller providers. * * @author Fabien Potencier */ interface ControllerProviderInterface { /** * Returns routes to connect to the given application. * * @param Application $app An Application instance * * @return ControllerCollection A ControllerCollection instance */ public function connect(Application $app); }