Download the PHP package saxulum/saxulum-accessor without Composer
On this page you can find all versions of the php package saxulum/saxulum-accessor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package saxulum-accessor
saxulum-accessor
Features
- Contains a accessor trait which allows to register accessors
- Contains a add accessor, which means you don't have to write simple adders anymore
- Contains a get accessor, which means you don't have to write simple getters anymore
- Contains a is accessor, which means you don't have to write simple is anymore
- Contains a remove accessor, which means you don't have to write simple removers anymore
- Contains a set accessor, which means you don't have to write simple setters anymore
Requirements
- PHP 5.4+
Installation
Through Composer as saxulum/saxulum-accessor.
Bootstrap:
Usage
PhpDoc generation
Call the method _generatePhpDoc
on the object using it
Arguments
Pros:
- less own code to write
- less owm code to debug
- scalar type hints
- handles bidirection relations
Cons:
@method
phpdoc, needs manually call_generatePhpDoc()
- slower (no benchmark)
- more complex to debug
method_exists
does not work
FAQ
Does it work with doctrine orm/odm (proxy)
Yes it does, thx to __call
Does ist work with symfony/property-access (symfony/form)
Yes it does, thx to __get, __set
Does it work with twig
Yes it does, thx to the plain property method call wrapper
Copyright
- Dominik Zogg [email protected]
Contributors
- Dominik Zogg
- Patrick Landolt
All versions of saxulum-accessor with dependencies
PHP Build Version
Package Version
The package saxulum/saxulum-accessor contains the following files
Loading the files please wait ....