PHP Class AppserverIo\Appserver\PersistenceContainer\Doctrine\DoctrineLocalContextConnection

Inheritance: extends AppserverIo\RemoteMethodInvocation\LocalContextConnection
Show file Open project: appserver-io/appserver Class Usage Examples

Public Methods

Method Description
createContextSession ( ) : AppserverIo\RemoteMethodInvocation\SessionInterface Initializes a new session instance.
send ( AppserverIo\RemoteMethodInvocation\RemoteMethodInterface $remoteMethod ) : mixed Sends the remote method call to the container instance.

Method Details

createContextSession() public method

Initializes a new session instance.
See also: AppserverIo\RemoteMethodInvocation\ConnectionInterface::createContextSession()
public createContextSession ( ) : AppserverIo\RemoteMethodInvocation\SessionInterface
return AppserverIo\RemoteMethodInvocation\SessionInterface The session instance

send() public method

Sends the remote method call to the container instance.
See also: AppserverIo\RemoteMethodInvocation\ConnectionInterface::send()
public send ( AppserverIo\RemoteMethodInvocation\RemoteMethodInterface $remoteMethod ) : mixed
$remoteMethod AppserverIo\RemoteMethodInvocation\RemoteMethodInterface The remote method instance
return mixed The response from the container