Releases: nelmio/alice
Releases · nelmio/alice
2.1.4
2.1.3
2.1.2
2.1.1
- Bug fixes / cleanup in
Fixtures
static class - Bug fix in
Reference
processor to enable parsing zero references - Bug fix to handle default instance with no properties
- Performance improvements
2.1.0
2.0.0: Merge pull request #188 from tshelburne/2.0-docs
-
Expanded public interface of the
Loader
class to support:- Trivial parsing of new document types
- Custom instantiation methods
- Custom setting of properties
- Custom processing and fixture building
-
Added support for using parameters with the following
parameters: foo: value Acme\ClassName: property: <{foo}>
1.7.2
1.7.1
1.7.0
- Added fixture inheritance with
(template)
and(extends NAME)
flags - Added support for including other yaml fixtures files using a top-level
include
array - Added an
<identity()>
(aliased as<()>
faker provider to just evaluate PHP expressions with variables - Added
@self
reference which is the equivalent to$this
- Added support for passing references to faker providers
- Added support for HHVM and PHP 5.6
1.6.0
- The array of instances returned by load() now has the fixture name as key
- Added support for static factory methods to replace __construct
- Added a special __set property to define a custom setter for all properties
- Added support for @-references within faker provider calls e.g.
<foo(@obj)>
- Added support for escaping @-signs to create literal strings starting with
@
, e.g.\@foo
- Fixed support for null variable references
- Fixed invalid invocation of private setters