Skip to content
This repository was archived by the owner on May 22, 2023. It is now read-only.

0.2.0

Compare
Choose a tag to compare
@dktapps dktapps released this 01 Nov 20:27
· 23 commits to stable since this release
49ea303

Changes since 0.1.x

  • Accept pthreads ^4.0.
  • BaseClassLoader now supports PSR-4 style namespace mappings via a $namespacePrefix parameter to addPath(). An empty string can be passed to get the old PSR-0-ish behaviour.
  • Separate DynamicClassLoader from ClassLoader. DynamicClassLoader exposes addPath() (it's no longer present on ClassLoader itself).
  • Everything except register() has been removed from ClassLoader.
  • Native parameter and return types are now used on all API methods.
  • BaseClassLoader is greatly simplified:
    • No longer searches for 64/32-bit variants of classes.
    • __construct() no longer accepts a $parent argument.
    • Removed getClasses()
    • Removed getParent()
    • Removed removePath()