FactoryGirl\Provider\Doctrine\FixtureFactory::getList PHP Метод

getList() публичный Метод

Whether the entities are new or not depends on whether you've created a singleton with the entity name. See getAsSingleton(). If you've called persistOnGet() then the entities are also persisted.
public getList ( $name, array $fieldOverrides = [], $numberOfInstances = 1 )
$fieldOverrides array
    public function getList($name, array $fieldOverrides = array(), $numberOfInstances = 1)
    {
        if ($numberOfInstances < 1) {
            throw new \InvalidArgumentException('Can only get >= 1 instances');
        }
        $instances = array();
        for ($i = 0; $i < $numberOfInstances; $i++) {
            $instances[] = $this->get($name, $fieldOverrides);
        }
        return $instances;
    }