protected function loadSomeFixtures($selectedFixtures)
    {
        $fixtures = glob("{$this->config['location']}/*.php");

        foreach ($fixtures as $fixture) {
            $tableName = basename($fixture, '.php');

            if (in_array($tableName, $selectedFixtures)) {
                $this->loadFixture($fixture);
            }
        }
    }
protected function loadSomeFixtures($selectedFixtures)
    {
        $fixtures = glob("{$this->config['location']}/*.php");

        foreach ($fixtures as $fixture) {
            $tableName = basename($fixture, '.php');

            if (in_array($tableName, $selectedFixtures)) {
                $this->loadFixture($fixture);
            }
        }
    }
protected function loadSomeFixtures ( $ selectedFixtures ) { $ fixtures = glob ( "{$this->config['location']}/*.php" ) ; foreach ( $ fixtures as $ fixture ) { $ tableName = basename ( $ fixture , '.php' ) ; if ( in_array ( $ tableName , $ selectedFixtures ) ) { $ this -> loadFixture ( $ fixture ) ; } } }
Load a only a subset of fixtures from the fixtures folder.

@param  array $selectedFixtures
@return void
Load a only a subset of fixtures from the fixtures folder .