class Collector

Code coverage collector.

Methods

static bool
isStarted()

No description

static void
start(string $file)

Starts gathering the information for code coverage.

static void
flush()

Flushes all gathered information. Effective only with PHPDBG collector.

static void
save()

Saves information about code coverage. Can be called repeatedly to free memory.

Details

at line 25
static bool isStarted()

No description

Return Value

bool

at line 35
static void start(string $file)

Starts gathering the information for code coverage.

Parameters

string $file

Return Value

void

Exceptions

LogicException

at line 63
static void flush()

Flushes all gathered information. Effective only with PHPDBG collector.

Return Value

void

at line 75
static void save()

Saves information about code coverage. Can be called repeatedly to free memory.

Return Value

void

Exceptions

LogicException