Orpheus

FixtureRepository
in package

The FixtureRepository class

This interface is used to register fixtures.

Table of Contents

Properties

$fixtures  : array<string|int, mixed>
All the registered fixtures

Methods

listAll()  : array<string|int, string>
List all classes having some fixtures to load
register()  : void
Register $class having some fixtures to load

Properties

$fixtures

All the registered fixtures

protected static array<string|int, mixed> $fixtures = []

Methods

listAll()

List all classes having some fixtures to load

public static listAll() : array<string|int, string>
Return values
array<string|int, string>

register()

Register $class having some fixtures to load

public static register(string $class) : void
Parameters
$class : string

							
On this page

Search results