class UserFixtures extends BaseFixture implements FixtureGroupInterface (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

__construct(UserPasswordEncoderInterface $passwordEncoder, UserRepository $users)

No description

void
load(ObjectManager $manager)

No description

static array
getGroups()

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.

Return Value

void

protected getRandomReference(string $entityName)

Parameters

string $entityName

protected array getRandomTaxonomies(string $type, int $amount)

Parameters

string $type
int $amount

Return Value

array

protected Collection getImagesIndex($path)

Parameters

$path

Return Value

Collection

protected bool getOption(string $name)

Parameters

string $name

Return Value

bool

__construct(UserPasswordEncoderInterface $passwordEncoder, UserRepository $users)

Parameters

UserPasswordEncoderInterface $passwordEncoder
UserRepository $users

void load(ObjectManager $manager)

Parameters

ObjectManager $manager

Return Value

void

static array getGroups()

Return Value

array