[DI] remove dead code

This commit is contained in:
Nicolas Grekas 2018-05-24 09:11:23 +02:00
parent ffd612c9a6
commit 1314a952cd

View File

@ -62,17 +62,4 @@ class ProxyHelper
return $prefix.$parent->name;
}
}
private static function export($value)
{
if (!is_array($value)) {
return var_export($value, true);
}
$code = array();
foreach ($value as $k => $v) {
$code[] = sprintf('%s => %s', var_export($k, true), self::export($v));
}
return sprintf('array(%s)', implode(', ', $code));
}
}