Skip to content

Releases: marguskaidja/php-accessors

0.4.0

10 Nov 10:07
86bdf61
Compare
Choose a tag to compare
  • 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 inside ClassConf class.

v0.3.1

07 Nov 11:28
fe5cce2
Compare
Choose a tag to compare
  • 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

07 Nov 09:30
295c166
Compare
Choose a tag to compare
  • Drop support for #[ICase] to prohibit inconsistent solutions.
  • Move property related code from ClassConf into separate Properties 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 into ClassConf.

v0.2.0

04 Nov 10:59
596b99c
Compare
Choose a tag to compare
  • 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

31 Oct 10:49
f90c603
Compare
Choose a tag to compare

First release