Skip to content

Instantly share code, notes, and snippets.

@Bolinha1
Last active August 29, 2015 14:02
Show Gist options
  • Select an option

  • Save Bolinha1/695bc0193619c3675f3d to your computer and use it in GitHub Desktop.

Select an option

Save Bolinha1/695bc0193619c3675f3d to your computer and use it in GitHub Desktop.
<?php
/*
* This file is part of the Silex framework.
*
* (c) Fabien Potencier <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Silex;
/**
* Interface for controller providers.
*
* @author Fabien Potencier <[email protected]>
*/
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);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment