Skip to content

Version 0.34

Compare
Choose a tag to compare
@Ronef Ronef released this 30 Apr 03:43
· 310 commits to master since this release
  • + \DDTools\ObjectTools::extend:
    • + Added the ability to prevent fields overwriting with empty values ($params->overwriteWithEmpty).
    • + Objects can extend arrays and vice versa.
    • + Types of nested objects are independent on types of their parents.
  • + \DDTools\ObjectTools::isPropExists. Checks if the object, class or array has a property / element (see README).
  • + \DDTools\ObjectTools::getPropValue. Get the value of an object property or an array element (see README).
  • + \DDTools\ObjectTools::isObjectOrArray. Finds whether a variable is an array or an object. The method is private for now, because we will need to think more about the parameters.