Download the PHP package codememory/reflection without Composer
On this page you can find all versions of the php package codememory/reflection. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download codememory/reflection
More information about codememory/reflection
Files in codememory/reflection
Package reflection
Short Description The library is similar to the built-in API class Reflection, but the only difference is that this library caches the entire result and does not work with the built-in Reflection in the future, which improves performance
License MIT
Informations about the package reflection
Codememory Reflection
This library will please the built-in Reflection API in PHP, but with one plus, it is fully cacheable
Install
Usage example
Result
Cache
0 First a:12:{s:4:"name";s:5:"First";s:10:"short_name";s:5:"First";s:9:"namespace";s:0:"";s:11:"is_abstract";b:0;s:8:"is_final";b:0;s:11:"is_iterable";b:0;s:8:"is_trait";b:0;s:12:"is_interface";b:0;s:12:"is_anonymous";b:0;s:7:"methods";a:0:{}s:10:"properties";a:2:{i:0;a:5:{s:4:"name";s:4:"name";s:8:"modifier";i:4;s:4:"type";a:3:{s:4:"name";s:6:"string";s:14:"allow_nullable";b:1;s:10:"is_builtin";b:1;}s:13:"default_value";N;s:10:"attributes";a:0:{}}i:1;a:5:{s:4:"name";s:7:"surname";s:8:"modifier";i:4;s:4:"type";a:3:{s:4:"name";s:6:"string";s:14:"allow_nullable";b:1;s:10:"is_builtin";b:1;}s:13:"default_value";N;s:10:"attributes";a:1:{i:0;a:5:{s:4:"name";s:11:"MyAttribute";s:9:"arguments";a:1:{i:0;s:7:"example";}s:6:"target";i:8;s:11:"is_repeated";b:0;s:8:"instance";O:11:"MyAttribute":1:{s:5:"value";s:7:"example";}}}}}s:10:"attributes";a:0:{}}