Various utility functions
author |
Michiel Rook mrook@php.net |
---|---|
version |
$Id: 2bed201fd0c78712be2bc9c1eab23f75e646cf4c $ |
package |
phing.tasks.ext.phpunit |
since | 2.1.0 |
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
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
definedClasses :