private function OpCacheDataModel::_processPartition in Production check & Production monitor 6
Same name and namespace in other branches
- 7 includes/prod_check.opcache.inc \OpCacheDataModel::_processPartition()
1 call to OpCacheDataModel::_processPartition()
File
- includes/
prod_check.opcache.inc, line 236
Class
Code
private function _processPartition($value, $name = null) {
if (array_key_exists('size', $value)) {
return $value;
}
$array = array(
'name' => $name,
'children' => array(),
);
foreach ($value as $k => $v) {
$array['children'][] = $this
->_processPartition($v, $k);
}
return $array;
}