BaseFixture
abstract class BaseFixture extends Fixture (View source)
Methods
void
flushReferencesIndex()
During unit-tests, the fixtures are ran multiple times. Flush the in-memory index, to prevent stale links to missing references.
getRandomReference(string $entityName)
No description
array
getRandomTaxonomies(string $type, int $amount)
No description
Collection
getImagesIndex($path)
No description
bool
getOption(string $name)
No description
Details
protected void
flushReferencesIndex()
During unit-tests, the fixtures are ran multiple times. Flush the in-memory index, to prevent stale links to missing references.