Copied!
Trait
Methods
protected extractObjectToPopulate(string $class, array $context, ?string $key = NULL) : ?object
 

Extract the object_to_populate field from the context if it exists and is an instance of the provided $class.

  • param string $class The class the object should be
  • param string|null $key They in which to look for the object to populate. Keeps backwards compatibility with AbstractNormalizer.
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration