TargetsFixture

Extends \App\DataFixtures\BaseFixture

Provides Target endpoint URLs for testing and production Class TargetsFixture

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

{@inheritDoc}

getEnvironments() : array

Response

array

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

Current Environment

environment : string
var

Type(s)

string

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