TestStateRegistrars
class TestStateRegistrars
Properties
| protected Filesystem | $files | The filesystem instance. |
Methods
Create a test-state registrar discoverer.
Create a discoverer for the current Composer root install.
Register discovered test-state registrars.
Get the Composer root package path.
Resolve and validate the Composer root install path.
Get root test-state registrar classes.
Get registrar classes keyed by their source package.
Register one registrar class.
Details
at line 23
__construct(string $basePath, string $vendorPath, Filesystem|null $files = null)
Create a test-state registrar discoverer.
at line 34
static TestStateRegistrars
forRootInstall()
Create a discoverer for the current Composer root install.
at line 48
void
register()
Register discovered test-state registrars.
at line 60
static protected string
installedRootPath()
Get the Composer root package path.
at line 70
static protected string
resolveInstalledRootPath(mixed $installPath)
Resolve and validate the Composer root install path.
at line 86
protected array
rootRegistrars()
Get root test-state registrar classes.
at line 96
protected array
registrars()
Get registrar classes keyed by their source package.
at line 119
protected void
registerClass(string $source, mixed $class)
Register one registrar class.