Copied!

Caches metadata using a PSR-6 implementation.

CloneableInstantiable
Methods
public __construct(Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactoryInterface $decorated, Psr\Cache\CacheItemPoolInterface $cacheItemPool)
public getMetadataFor(object|string $value) : Symfony\Component\Serializer\Mapping\ClassMetadataInterface
public hasMetadataFor(?mixed $value) : bool
Properties
private $cacheItemPool
private $decorated
private $loadedClasses
Methods
private getClass(object|string $value) : string
 

Gets a class name for a given class or instance.

© 2023 Bruce Wells
Search Namespaces \ Classes
Configuration