Various utility functions
author |
Michiel Rook mrook@php.net |
---|---|
version |
$Id: c569f96e625ed8f9c6ae5add2b2f4a0a6c3e5a54 $ |
package |
phing.tasks.ext.phpunit |
since | 2.1.0 |
getPackageName($classname) : string
string
the name of the package
getSubpackageName(string $classname) : string|null
author |
Benjamin Schultz bschultz@proqrent.de |
---|
string
the name of the class
string|null
the name of the subpackage
getClassFromFileName($filename) : string
Assumes that there is only one class defined in that particular file, and that the naming follows the dot-path (Java) notation scheme.
string
the name fo the class
getDefinedClasses($filename, $classpath = NULL) : array
array
list of classes defined in the file
definedClasses :