[DI] remove dead code
This commit is contained in:
parent
ffd612c9a6
commit
1314a952cd
@ -62,17 +62,4 @@ class ProxyHelper
|
|||||||
return $prefix.$parent->name;
|
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));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user