private function OpCacheDataModel::_processPartition in Production check & Production monitor 7
Same name and namespace in other branches
- 6 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;
}