src/ActiveDoctrine/Fixture/FixtureLoader.php
public function run(Connection $connection, $append = false)
    {
        if (!$append) {
            //in the future, resolve key constraints here
            foreach (array_unique($this->dropTables) as $table) {
                $connection->delete($table, [1 => 1], [\PDO::PARAM_INT]);
            }
        }

        foreach ($this->getSortedFixtures() as $fixture) {
            $this->runFixture($connection, $fixture);
        }
    }
public function run(Connection $connection, $append = false)
    {
        if (!$append) {
            //in the future, resolve key constraints here
            foreach (array_unique($this->dropTables) as $table) {
                $connection->delete($table, [1 => 1], [\PDO::PARAM_INT]);
            }
        }

        foreach ($this->getSortedFixtures() as $fixture) {
            $this->runFixture($connection, $fixture);
        }
    }
public function run ( Connection $ connection , $ append = false ) { if ( ! $ append ) { //in the future, resolve key constraints here foreach ( array_unique ( $ this -> dropTables ) as $ table ) { $ connection -> delete ( $ table , [ 1 => 1 ] , [ \ PDO :: PARAM_INT ] ) ; } } foreach ( $ this -> getSortedFixtures ( ) as $ fixture ) { $ this -> runFixture ( $ connection , $ fixture ) ; } }
Run all fixtures.

@param Connection $connection
@param bool       $append     Don't empty tables before loading
Run all fixtures .