This bundle is used to load fixtures in Yaml with Symfony 2
-
Add this bundle to your
vendor/dir:-
Using the vendors script.
Add the following lines in your
depsfile::[SnowcapYamlFixturesBundle] git=git://github.com/snowcap/SnowcapYamlFixturesBundle.git target=/bundles/Snowcap/YamlFixturesBundleRun the vendors script:
./bin/vendors install -
Using git submodules.
$ git submodule add git://github.com/Snowcap/SnowcapYamlFixturesBundle.git vendor/bundles/Snowcap/YamlFixturesBundle
-
-
Add the Snowcap namespace to your autoloader:
// app/autoload.php $loader->registerNamespaces(array( 'Snowcap' => __DIR__.'/../vendor/bundles', // your other namespaces )); -
Add this bundle to your application's kernel:
// app/ApplicationKernel.php public function registerBundles() { return array( // ... new Snowcap\YamlFixturesBundle\SnowcapYamlFixturesBundle(), // ... ); }