/** * Creates a remote initial context instance. * * @return \AppserverIo\RemoteMethodInvocation\RemoteObjectInterface The proxy for the initial context * @see \AppserverIo\RemoteMethodInvocation\SessionInterface::createInitialContext() */ public function createInitialContext() { $initialContext = new DoctrineInitialContextProxy(); $initialContext->__setSession($this); return $initialContext; }