if (!
empty(self::
$cache[$class])) { $rep =
new Representation('Available methods', 'methods'
);
// Can't cache access paths
foreach (self::
$cache[$class] as $m) { $method =
clone $m;
$method->depth =
$o->depth + 1;
if (!
$this->parser->
childHasPath($o,
$method)) { $method->access_path = null;
} else { $method->
setAccessPathFrom($o);
} if ($method->owner_class !==
$class &&
$d =
$method->
getRepresentation('method_definition'
)) { $d =
clone $d;
$d->inherited = true;
$method->
replaceRepresentation($d);
} $rep->contents
[] =
$method;
}