Solar_Class_Stack::addByParents()

public void Solar_Class_Stack::addByParents ( string|object $spec , string $base = NULL )

Given a class or object, add itself and its parents to the stack, 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, add itself and its parents to the stack, optionally tracking cross-hierarchy shifts around a base name.



Local