comparison vendor/symfony/http-kernel/Controller/TraceableControllerResolver.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 1fec387a4317
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
9 * file that was distributed with this source code. 9 * file that was distributed with this source code.
10 */ 10 */
11 11
12 namespace Symfony\Component\HttpKernel\Controller; 12 namespace Symfony\Component\HttpKernel\Controller;
13 13
14 use Symfony\Component\HttpFoundation\Request;
14 use Symfony\Component\Stopwatch\Stopwatch; 15 use Symfony\Component\Stopwatch\Stopwatch;
15 use Symfony\Component\HttpFoundation\Request;
16 16
17 /** 17 /**
18 * @author Fabien Potencier <fabien@symfony.com> 18 * @author Fabien Potencier <fabien@symfony.com>
19 */ 19 */
20 class TraceableControllerResolver implements ControllerResolverInterface, ArgumentResolverInterface 20 class TraceableControllerResolver implements ControllerResolverInterface, ArgumentResolverInterface
58 * 58 *
59 * @deprecated This method is deprecated as of 3.1 and will be removed in 4.0. 59 * @deprecated This method is deprecated as of 3.1 and will be removed in 4.0.
60 */ 60 */
61 public function getArguments(Request $request, $controller) 61 public function getArguments(Request $request, $controller)
62 { 62 {
63 @trigger_error(sprintf('The %s method is deprecated as of 3.1 and will be removed in 4.0. Please use the %s instead.', __METHOD__, TraceableArgumentResolver::class), E_USER_DEPRECATED); 63 @trigger_error(sprintf('The "%s()" method is deprecated as of 3.1 and will be removed in 4.0. Please use the %s instead.', __METHOD__, TraceableArgumentResolver::class), E_USER_DEPRECATED);
64 64
65 $ret = $this->argumentResolver->getArguments($request, $controller); 65 $ret = $this->argumentResolver->getArguments($request, $controller);
66 66
67 return $ret; 67 return $ret;
68 } 68 }