Copied!

Returns a {@link ClassMetadata}.

Cloneable Instantiable
Methods
public __construct ( Symfony\Component\Serializer\Mapping\Loader\LoaderInterface $loader )
public getMetadataFor ( object | string $value ) : Symfony\Component\Serializer\Mapping\ClassMetadataInterface
 
public hasMetadataFor ( ? mixed $value ) : bool
 
Properties
private $loadedClasses
 
  • var array
private $loader
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