Exception
1 year ago
CHANGELOG.md
1 year ago
LICENSE
1 year ago
PropertyAccess.php
4 years ago
PropertyAccessor.php
1 year ago
PropertyAccessorBuilder.php
1 year ago
PropertyAccessorInterface.php
1 year ago
PropertyPath.php
1 year ago
PropertyPathBuilder.php
1 year ago
PropertyPathInterface.php
1 year ago
PropertyPathIterator.php
1 year ago
PropertyPathIteratorInterface.php
1 year ago
README.md
4 years ago
composer.json
1 year ago
CHANGELOG.md
71 lines
| 1 | CHANGELOG |
| 2 | ========= |
| 3 | |
| 4 | 5.3.0 |
| 5 | ----- |
| 6 | |
| 7 | * deprecate passing a boolean as the second argument of `PropertyAccessor::__construct()`, expecting a combination of bitwise flags instead |
| 8 | |
| 9 | 5.2.0 |
| 10 | ----- |
| 11 | |
| 12 | * deprecated passing a boolean as the first argument of `PropertyAccessor::__construct()`, expecting a combination of bitwise flags instead |
| 13 | * added the ability to disable usage of the magic `__get` & `__set` methods |
| 14 | |
| 15 | 5.1.0 |
| 16 | ----- |
| 17 | |
| 18 | * Added an `UninitializedPropertyException` |
| 19 | * Linking to PropertyInfo extractor to remove a lot of duplicate code |
| 20 | |
| 21 | 4.4.0 |
| 22 | ----- |
| 23 | |
| 24 | * deprecated passing `null` as `$defaultLifetime` 2nd argument of `PropertyAccessor::createCache()` method, |
| 25 | pass `0` instead |
| 26 | |
| 27 | 4.3.0 |
| 28 | ----- |
| 29 | |
| 30 | * added a `$throwExceptionOnInvalidPropertyPath` argument to the PropertyAccessor constructor. |
| 31 | * added `enableExceptionOnInvalidPropertyPath()`, `disableExceptionOnInvalidPropertyPath()` and |
| 32 | `isExceptionOnInvalidPropertyPath()` methods to `PropertyAccessorBuilder` |
| 33 | |
| 34 | 4.0.0 |
| 35 | ----- |
| 36 | |
| 37 | * removed the `StringUtil` class, use `Symfony\Component\Inflector\Inflector` |
| 38 | |
| 39 | 3.1.0 |
| 40 | ----- |
| 41 | |
| 42 | * deprecated the `StringUtil` class, use `Symfony\Component\Inflector\Inflector` |
| 43 | instead |
| 44 | |
| 45 | 2.7.0 |
| 46 | ------ |
| 47 | |
| 48 | * `UnexpectedTypeException` now expects three constructor arguments: The invalid property value, |
| 49 | the `PropertyPathInterface` object and the current index of the property path. |
| 50 | |
| 51 | 2.5.0 |
| 52 | ------ |
| 53 | |
| 54 | * allowed non alpha numeric characters in second level and deeper object properties names |
| 55 | * [BC BREAK] when accessing an index on an object that does not implement |
| 56 | ArrayAccess, a NoSuchIndexException is now thrown instead of the |
| 57 | semantically wrong NoSuchPropertyException |
| 58 | * [BC BREAK] added isReadable() and isWritable() to PropertyAccessorInterface |
| 59 | |
| 60 | 2.3.0 |
| 61 | ------ |
| 62 | |
| 63 | * added PropertyAccessorBuilder, to enable or disable the support of "__call" |
| 64 | * added support for "__call" in the PropertyAccessor (disabled by default) |
| 65 | * [BC BREAK] changed PropertyAccessor to continue its search for a property or |
| 66 | method even if a non-public match was found. Before, a PropertyAccessDeniedException |
| 67 | was thrown in this case. Class PropertyAccessDeniedException was removed |
| 68 | now. |
| 69 | * deprecated PropertyAccess::getPropertyAccessor |
| 70 | * added PropertyAccess::createPropertyAccessor and PropertyAccess::createPropertyAccessorBuilder |
| 71 |