<?php
use Chubbyphp\Serialization\Accessor\MethodAccessor;
use MyProject\Model;
$object = new Model;
$object->setName('php');
$accessor = new MethodAccessor('name');
echo $accessor->getValue($object);
// 'php'
This repository was archived by the owner on Mar 12, 2025. It is now read-only.