Solar_Class::vendor()

static public string Solar_Class::vendor ( mixed $spec )

Find the vendor name of a given class or object; this is effectively the part of the class name that comes before the first underscore.

Parameters

  • (mixed) $spec: An object, or a class name.

Returns

  • (string) The vendor name of the class or object.

Description

Find the vendor name of a given class or object; this is effectively the part of the class name that comes before the first underscore.



Local