Solar_Class::dir()

static public string Solar_Class::dir ( string|object $spec , string $sub = NULL )

Returns the directory for a specific class, plus an optional subdirectory path.

Parameters

  • (string|object) $spec: The class or object to find parents for.

  • (string) $sub: Append this subdirectory.

Returns

  • (string) The class directory, with optional subdirectory.

Description

Returns the directory for a specific class, plus an optional subdirectory path.



Local