UserFixture
extends Fixture
in package
Fixture pour créer l'utilisateur administrateur
Tags
Table of Contents
Properties
- $passwordHasher : UserPasswordHasherInterface
Methods
- __construct() : mixed
- load() : void
- Crée l'utilisateur administrateur en base de données
Properties
$passwordHasher
private
UserPasswordHasherInterface
$passwordHasher
Methods
__construct()
public
__construct(UserPasswordHasherInterface $passwordHasher) : mixed
Parameters
- $passwordHasher : UserPasswordHasherInterface
load()
Crée l'utilisateur administrateur en base de données
public
load(ObjectManager $manager) : void
Parameters
- $manager : ObjectManager