Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Symfony\Component\HttpKernel\Controller; Chris@0: Chris@0: use Symfony\Component\HttpFoundation\Request; Chris@0: Chris@0: /** Chris@0: * An ArgumentResolverInterface instance knows how to determine the Chris@0: * arguments for a specific action. Chris@0: * Chris@0: * @author Fabien Potencier Chris@0: */ Chris@0: interface ArgumentResolverInterface Chris@0: { Chris@0: /** Chris@0: * Returns the arguments to pass to the controller. Chris@0: * Chris@0: * @param Request $request Chris@0: * @param callable $controller Chris@0: * Chris@0: * @return array An array of arguments to pass to the controller Chris@0: * Chris@0: * @throws \RuntimeException When no value could be provided for a required argument Chris@0: */ Chris@0: public function getArguments(Request $request, $controller); Chris@0: }