PHP Class Tester\CodeCoverage\Collector

Afficher le fichier Open project: nette/tester Class Usage Examples

Méthodes publiques

Méthode Description
flush ( ) Flushes all gathered information. Effective only with PHPDBG collector.
isStarted ( ) : boolean
save ( ) : void Saves information about code coverage. Can be called repeatedly to free memory.
start ( $file ) : void Starts gathering the information for code coverage.

Private Methods

Méthode Description
collectPhpDbg ( ) : array Collects information about code coverage.
collectXdebug ( ) : array Collects information about code coverage.

Method Details

flush() public static méthode

Flushes all gathered information. Effective only with PHPDBG collector.
public static flush ( )

isStarted() public static méthode

public static isStarted ( ) : boolean
Résultat boolean

save() public static méthode

Saves information about code coverage. Can be called repeatedly to free memory.
public static save ( ) : void
Résultat void

start() public static méthode

Starts gathering the information for code coverage.
public static start ( $file ) : void
Résultat void