class ClassUtils

Class ClassUtils

Methods

static 
defineIfNotExists(string $const, $value)

Define a constant if it does not exist

static string
getShortName($objectClass, $calledClass)

Returns the short name of the class.

Details

at line 26
static defineIfNotExists(string $const, $value)

Define a constant if it does not exist

Parameters

string $const
$value

at line 41
static string getShortName($objectClass, $calledClass)

Returns the short name of the class.

Parameters

$objectClass
$calledClass

Return Value

string