Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/http-kernel/DataCollector/Util/ValueExporter.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children | 129ea1e6d783 |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
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\DataCollector\Util; | 12 namespace Symfony\Component\HttpKernel\DataCollector\Util; |
13 | 13 |
14 @trigger_error('The '.__NAMESPACE__.'\ValueExporter class is deprecated since version 3.2 and will be removed in 4.0. Use the VarDumper component instead.', E_USER_DEPRECATED); | 14 @trigger_error('The '.__NAMESPACE__.'\ValueExporter class is deprecated since Symfony 3.2 and will be removed in 4.0. Use the VarDumper component instead.', E_USER_DEPRECATED); |
15 | 15 |
16 /** | 16 /** |
17 * @author Bernhard Schussek <bschussek@gmail.com> | 17 * @author Bernhard Schussek <bschussek@gmail.com> |
18 * | 18 * |
19 * @deprecated since version 3.2, to be removed in 4.0. Use the VarDumper component instead. | 19 * @deprecated since version 3.2, to be removed in 4.0. Use the VarDumper component instead. |
22 { | 22 { |
23 /** | 23 /** |
24 * Converts a PHP value to a string. | 24 * Converts a PHP value to a string. |
25 * | 25 * |
26 * @param mixed $value The PHP value | 26 * @param mixed $value The PHP value |
27 * @param int $depth only for internal usage | 27 * @param int $depth Only for internal usage |
28 * @param bool $deep only for internal usage | 28 * @param bool $deep Only for internal usage |
29 * | 29 * |
30 * @return string The string representation of the given value | 30 * @return string The string representation of the given value |
31 */ | 31 */ |
32 public function exportValue($value, $depth = 1, $deep = false) | 32 public function exportValue($value, $depth = 1, $deep = false) |
33 { | 33 { |