Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

1.1.3

Compare
Choose a tag to compare
@codemasher codemasher released this 09 Jan 22:29
· 58 commits to master since this release
  • Container
    • added __isset(string $property):bool
    • added __isPrivate(string $property):bool (protected)
    • added __unset(string $property)
    • added __toString():string which returns a JSON string
    • changed __get(), __set() and __toArray() so that they won't return private properties
    • changed __construct() so that it will accept a DotEnv object as optional 2nd argument
      • changed __get(), __set() so that they will access the DotEnv instance in case the property is not found (or private, respectively) in the Container instance
  • Env
    • added __issetEnv(string $var):bool
  • DotEnv
    • added __isset(), isset() and __unset() aliases