memio/model
Memio Model provides PHP objects to describe code structures (classes, interfaces, methods, properties, parameters, types and namespaces). Use it to build an in-memory representation of PHP code for analysis, tooling, or code generation workflows.
Dropped support for PHP <8.0
New features:
Attribute model (PHP 8.0 attributes)Objekt, Contract, Method, Property, Argument and ConstantType (e.g. string|int, DateTime|null)mixed type hint support in TypeArgument)Dropped support for PHP <7.4
New features:
ignore
Dropped support for PHP <7.2
Other upgrades:
BC Breaks - removed deprecated api:
make static constructorsNormalization from float to double, thanks to @ItsKelsBoys
Added support for PHP 7.2, thanks to @roukmoute
BC break: Object has be renamed to Objekt, has it is a reserved keyword.
Dropped support for PHP < 7.
This means we now can use:
All make static constructor were created for PHP < 5.6, they're
now deprecated. Here's an example of what to use instead:
(new Method('sayHello'))
->addArgument(new Argument('string', 'name')))
;
FullyQualifiedName according to PHP Name resolution rules[@return](https://github.com/return) selfObject[] when dealing with collections of objectsParameterTag#makereturn PHPdoc tagthrows PHPdoc tagHow can I help you explore Laravel packages today?