private static function _getSlicedByDepth(array $aSubject, $iDepth = 0)
{
foreach ($aSubject as $_sKey => $_vValue) {
if (is_array($_vValue)) {
$_iDepth = $iDepth;
if ($iDepth > 0) {
$aSubject[$_sKey] = self::_getSlicedByDepth($_vValue, --$iDepth);
$iDepth = $_iDepth;
continue;
}
unset($aSubject[$_sKey]);
}
}
return $aSubject;
}