should be

```php
$accessor = PropertyAccess::getPropertyAccessorBuilder()
    ->enableMagicCall()
    ->getPropertyAccessor();
```