Solar_Class_Stack::addByVendors()

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

Given a class or object, add its vendor and its parent vendors to the stack; optionally, add a standard suffix base to the vendor name.

Parameters

  • (string|object) $spec: The class or object to find vendors of.

  • (string) $base: The suffix base to append to each vendor name.

Returns

  • (void)

Description

Given a class or object, add its vendor and its parent vendors to the stack; optionally, add a standard suffix base to the vendor name.



Local