Solar_Class_Stack::setByParents()
public
void
Solar_Class_Stack::setByParents
( string|object $spec
, string $base = NULL
)
Given a class or object, set the stack based on itself and its parents, optionally tracking cross-hierarchy shifts around a base name.
Parameters
(string|object)
$spec
: The class or object to find parents of.(string)
$base
: The infix base around which to track cross- hierarchy shifts.
Returns
(void)
Description
Given a class or object, set the stack based on itself and its parents, optionally tracking cross-hierarchy shifts around a base name.