ObjectToPopulateTrait
trait ObjectToPopulateTrait
Methods
object|null
extractObjectToPopulate(string $class, array $context, string $key = null)
Extract the object_to_populate
field from the context if it exists
and is an instance of the provided $class.