final class Registry (View source)

internal  This class is not covered by the backward compatibility promise for PHPUnit
 

CLI options and XML configuration are static within a single PHPUnit process.

It is therefore okay to use a Singleton registry here.

Methods

static bool
saveTo(string $path)

No description

static void
loadFrom(string $path)

This method is used by the "run test(s) in separate process" templates.

static Configuration
get()

No description

static Configuration
init(Configuration $cliConfiguration, Configuration $xmlConfiguration)

No description

Details

static bool saveTo(string $path)

No description

Parameters

string $path

Return Value

bool

static void loadFrom(string $path)

This method is used by the "run test(s) in separate process" templates.

Parameters

string $path

Return Value

void

static Configuration get()

No description

Return Value

Configuration

static Configuration init(Configuration $cliConfiguration, Configuration $xmlConfiguration)

No description

Parameters

Configuration $cliConfiguration
Configuration $xmlConfiguration

Return Value

Configuration

Exceptions

Exception
Exception
NoCustomCssFileException