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

        foreach ($availableFixtures as $i => $fixture) {
            $tableName = basename($fixture, '.php');

            if ($fixtures && !in_array($tableName, $fixtures)) {
                unset($availableFixtures[$i]);
            }
        }
        return array_values($availableFixtures);
    }