1of0/phpdoc-reader

PhpDocReader parses @var and @param values in PHP docblocks (supports namespaced class names with the same resolution rules as PHP)

3.0.1 2016-03-07 17:04 UTC

This package is auto-updated.

Last update: 2024-12-29 05:21:36 UTC


README

This is a fork of the php-di/phpdoc-reader package.

Changes

  • Deprecated methods are removed
  • Adds support for multi-type declarations (e.g. @var Foo|Bar|Baz $var)
  • Depends on doctrine/annotations package

Roadmap

  • Caching reader implementation
  • Support for complex types (arrays, Doctrine ArrayCollections)
  • Support for scalar types