public function up($fixtures = array())
    {
        $location = $this->config['location'];

        if (!is_dir($location)) {
            throw new Exceptions\InvalidFixtureLocationException(
                "Could not find fixtures folder, please make sure $location exists",
                1
            );
        }

        $this->loadFixtures($fixtures);
    }
public function up($fixtures = array())
    {
        $location = $this->config['location'];

        if (!is_dir($location)) {
            throw new Exceptions\InvalidFixtureLocationException(
                "Could not find fixtures folder, please make sure $location exists",
                1
            );
        }

        $this->loadFixtures($fixtures);
    }
public function up ( $ fixtures = array ( ) ) { $ location = $ this -> config [ 'location' ] ; if ( ! is_dir ( $ location ) ) { throw new Exceptions \ InvalidFixtureLocationException ( "Could not find fixtures folder, please make sure $location exists" , 1 ) ; } $ this -> loadFixtures ( $ fixtures ) ; }
Build fixtures.

@param  array $fixtures
@throws Exceptions\InvalidFixtureLocationException
@return void
Build fixtures .