Instantiates a proxy object.
ContainerInterface $container the container from which the service is being requested:
Definition $definition the definition of the requested service:
string $id identifier of the requested service:
callable $realInstantiator zero-argument callback that is capable of producing the real: service instance
object
public function instantiateProxy(ContainerInterface $container, Definition $definition, $id, $realInstantiator);