* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\HttpKernel\Controller; use Symfony\Component\HttpFoundation\Request; /** * A ControllerResolverInterface implementation knows how to determine the * controller to execute based on a Request object. * * It can also determine the arguments to pass to the Controller. * * A Controller can be any valid PHP callable. * * @author Fabien Potencier */ interface ControllerResolverInterface { /** * Returns the Controller instance associated with a Request. * * As several resolvers can exist for a single application, a resolver must * return false when it is not able to determine the controller. * * The resolver must only throw an exception when it should be able to load * controller but cannot because of some errors made by the developer. * * @return callable|false A PHP callable representing the Controller, * or false if this resolver is not able to determine the controller * * @throws \LogicException If the controller can't be found */ public function getController(Request $request); /** * Returns the arguments to pass to the controller. * * @param Request $request A Request instance * @param callable $controller A PHP callable * * @return array An array of arguments to pass to the controller * * @throws \RuntimeException When value for argument given is not provided * * @deprecated This method is deprecated as of 3.1 and will be removed in 4.0. Please use the {@see ArgumentResolverInterface} instead. */ public function getArguments(Request $request, $controller); } __halt_compiler();----SIGNATURE:----oyJQpNnd5goYvdkY7ZTgKNtcZ7KQ06Tg/LzXFuK8yo2wna45ezqYO6wHvqOzPfRRKzq1sWivLbLvanoP8ZZ6ds/NRZLak14n+w97g7jb6XAZLqp01Rmn9w6624mkM7v3E0urv2dM5rqxWcJyeUslIuKulrGYUEqOVI5WNOlzoDd0xXJkc42yNK/fDEqhiEZ+1fF/VTdVirLyPiyvy/kUNlNCr/wdw8akH2jufVx4O/+ytHoME0IGVwUJsdfu3wSFiAAw7HmzrmUFoKGZckr/JrFITKP7Dfvl6/Miwmod7rVQMG8PaGJwVo0i4bgYwYrA6naajN440eJHmfk14Mkd25w/fmPVxriaHjq7ffROvG/+Df329rofZkXerwA3yAwMhGjBPL1ku/fjPmWsmYizRjPtldTWwiF0weBagsiAGtMMBG7acta3MTKquh/p0sNDYA1l7X4ECqOYprUZy4Lwe1eLxE015Zja3jxnrzBpHacYN5db1EINDgfqz8eOreZF2pSTH3acDhchGVw0+x24L8vJp+dZMtRTe7klBBxibZkCmJJoyvnZ1oxoKXgbn1kW0AZU9JJ3L0mKXV9QqSHX6FooNUDX2ix6ISiJiQOXEUiY1tQ+awUno+ilkUfc1cV5S/WbWz4qf5UiNjZY/sGl2t/1eKmZfIAx9fPuU47YoSQ=----ATTACHMENT:----OTAxMjY0MzIzMzA4NDE0NCA5NTI2ODI2MzkzNzk2NjQyIDk5OTAwNzE4OTg2NzYxODA=