Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/var-dumper/Caster/SymfonyCaster.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
14 use Symfony\Component\HttpFoundation\Request; | 14 use Symfony\Component\HttpFoundation\Request; |
15 use Symfony\Component\VarDumper\Cloner\Stub; | 15 use Symfony\Component\VarDumper\Cloner\Stub; |
16 | 16 |
17 class SymfonyCaster | 17 class SymfonyCaster |
18 { | 18 { |
19 private static $requestGetters = array( | 19 private static $requestGetters = [ |
20 'pathInfo' => 'getPathInfo', | 20 'pathInfo' => 'getPathInfo', |
21 'requestUri' => 'getRequestUri', | 21 'requestUri' => 'getRequestUri', |
22 'baseUrl' => 'getBaseUrl', | 22 'baseUrl' => 'getBaseUrl', |
23 'basePath' => 'getBasePath', | 23 'basePath' => 'getBasePath', |
24 'method' => 'getMethod', | 24 'method' => 'getMethod', |
25 'format' => 'getRequestFormat', | 25 'format' => 'getRequestFormat', |
26 ); | 26 ]; |
27 | 27 |
28 public static function castRequest(Request $request, array $a, Stub $stub, $isNested) | 28 public static function castRequest(Request $request, array $a, Stub $stub, $isNested) |
29 { | 29 { |
30 $clone = null; | 30 $clone = null; |
31 | 31 |