Skip to content

0.4.3 ConstantReflection

Compare
Choose a tag to compare
@vudaltsov vudaltsov released this 06 Aug 17:16
· 62 commits to 0.4.x since this release

What's Changed

Type

  • Add types::value() factory that creates a Type from an arbitrary value.

Reflection

  • Add ConstantReflection and TyphoonReflector::reflectConstant().

TypedMap

  • Make TypedMap implement \Countable.

ChangeDetector

  • Add ConstantChangeDetector.

PhpStormReflectionStubs

  • Do not locate defined constants via PhpStormStubsLocator. Reflecting defined constants from value is less
    error-prone.

New Contributors

Full Changelog: 0.4.2...0.4.3