Releases: marguskaidja/php-accessors
Releases · marguskaidja/php-accessors
0.4.0
- Rework all Tests and use
eval()
to dynamically create testdummy classes on the fly rather than have all samples precoded into separate class files. - Fix issue where parent endpoint wasn't used with the property defined in child class.
- Due inconsistency with OPCache's (
opcache.save_comments
), PHPDoc tag support through comments are now somewhat of optional feature, so one must explicitly choose whether to use only attribute based configuration or in addition PHPDocs based tags also. - Make
Accessible
trait as minimal as possible and hide as much as possible of the implementation insideClassConf
class.
v0.3.1
- Fix bug, where
@property[<-read>|<-write>]
tags were not inherited in child classes. - Remove support of
private
properties. - Remove support of
private
endpoints.
v0.3.0
- Drop support for
#[ICase]
to prohibit inconsistent solutions. - Move property related code from
ClassConf
into separateProperties
class. - Added support for customizing accessor method names using
#[Format]
attribute. - Turned
Accessible
trait as lightweight as possible and moved most of the internal code intoClassConf
.
v0.2.0
- Whole rework of configuration class with splitting the big monolithic code into separate classes.
- Move mutator out of
#[Set]
into separate#[Mutator]
attribute. - Support for DocBlock tags
@property
,@property-read
and@property-write
. - Add phpstan/phpstan and make the codebase compatible with
-l 9
.
v0.1.0
First release