Skip to content

PHP-Parser 4.0.4

Choose a tag to compare

@nikic nikic released this 18 Sep 07:04
· 680 commits to master since this release

Added

  • The following methods have been added to BuilderFactory:
    • useTrait() (fluent builder)
    • traitUseAdaptation() (fluent builder)
    • useFunction() (fluent builder)
    • useConst() (fluent builder)
    • var()
    • propertyFetch()

Deprecated

  • Builder\Param::setTypeHint() has been deprecated in favor of the newly introduced Builder\Param::setType().