load() load( $fullClassName) Load a class. Parameters $fullClassName Throws \nre\exceptions\ClassNotFoundException
check() check(string $className, string $parentClassName) Check inheritance of a class. Parameters string $className Name of the class to check string $parentClassName Name of the parent class Throws \nre\exceptions\ClassNotValidException
stripNamespace() stripNamespace(string $class) : \nre\core\Name Strip the namespace from a class name. Parameters string $class Name of a class including its namespace Returns \nre\core\Name — of the given class without its namespace
stripClassType() stripClassType(string $className) : \nre\core\Name Strip the class type from a class name. Parameters string $className Name of a class Returns \nre\core\Name — of the given class without its class type
getClassName() getClassName(string $class) : \nre\core\Only Strip the namespace and the class type of a full class name to get only its name. Parameters string $class Full name of a class Returns \nre\core\Only — the name of the given class
concatClassNames() concatClassNames(string $className1) : string Concatenate strings to a class name following the CamelCase pattern. Parameters string $className1 Arbitrary number of strings to concat Returns string — Class name as CamelCase