UsersFixture

Extends \App\DataFixtures\BaseFixture

Used to create a User Fixture Class UsersFixture

package

App\DataFixtures

Methods

BaseFixture constructor.

__construct(\Symfony\Component\DependencyInjection\ContainerInterface $container) 
inherited

Arguments

$container

\Symfony\Component\DependencyInjection\ContainerInterface

Retrieve the current environment

getCurrentEnvironment() : string
inherited

Response

string

Get the Environment types {@inheritDoc}

getEnvironments() 

Get the order of this fixture

getOrder() : integer

Response

integer

Loads the fixtures by calling the abstract method on extended classes

load(\Doctrine\Common\Persistence\ObjectManager $manager) 
inherited

Arguments

$manager

\Doctrine\Common\Persistence\ObjectManager

Loads the data from the fixture into the database

loadData(\Doctrine\Common\Persistence\ObjectManager $manager) : mixed
inherited abstract

Arguments

$manager

\Doctrine\Common\Persistence\ObjectManager

Response

mixed

Properties

Password Encoder interface to use core encryption methods

encoder : \Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface
var

Type(s)

\Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface

Object Manager for interface to database entities

manager : \Doctrine\Common\Persistence\ObjectManager
inherited
var

Type(s)

\Doctrine\Common\Persistence\ObjectManager

The dependency injection container.

container : \Symfony\Component\DependencyInjection\ContainerInterface
inherited
var

Type(s)

\Symfony\Component\DependencyInjection\ContainerInterface