Registry / utility / symfony-property-access

symfony-property-access

JSON →
library8.1.0phppackagistunverified

Provides functions to read and write from/to an object or array using a simple string notation

composer require symfony/property-access
INSTALL
IMPORT
SIG · SYMFONY-PROPERTY-A
S
symfony-property-access
utilityphpv8.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PropertyAccessor
use Symfony\Component\PropertyAccess\PropertyAccessor;

Read and write object properties using dot notation

use Symfony\Component\PropertyAccess\PropertyAccessor; $accessor = new PropertyAccessor(); $value = $accessor->getValue($object, 'property.nested'); $accessor->setValue($object, 'property.nested', 'new value');
Debug
Known issues
breakingRequires PHP 8.2+ for version 8.1
fix
Upgrade PHP or use an older version
affects: >=8.1
Upgrade
Version history
8.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources