PHP Class Tester\CodeCoverage\Collector

Datei anzeigen Open project: nette/tester Class Usage Examples

Public Methods

Method 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

Method Description
collectPhpDbg ( ) : array Collects information about code coverage.
collectXdebug ( ) : array Collects information about code coverage.

Method Details

flush() public static method

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

isStarted() public static method

public static isStarted ( ) : boolean
return boolean

save() public static method

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

start() public static method

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