daschl/li3_fixtures — pull request #2 by rmarscher (2012-05-07 01:55:25+00:00)
Title: added method to save fixtures and php adapter

Hey guys,

I made several modifications from my comments on the RFC: http://nitschinger.at/RFC-li3_fixtures-Rewrite#comment-510195407

There is now a `Fixture::save` method for writting data from your application to a fixture file. It also now supports php fixture files in addition to json. This has the bonus of letting you save any class do a fixture (through the use of var_export).

I moved `Fixture` to be an `Adaptable` class, so that makes it possible to change the default adapter from Json to something else. It also lets it use a bit more standard location for placing your application's adapters - `app\extensions\adapter\text\fixture`.

Cheers,
Rob