Copied!

Caches metadata using a PSR-6 implementation.

Cloneable Instantiable
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
 
  • var CacheItemPoolInterface
private $decorated
private $loadedClasses
Methods
private getClass ( object | string $value ) : string
 

Gets a class name for a given class or instance.

  • throws InvalidArgumentException If the class does not exist
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration