AppserverIo\Appserver\PersistenceContainer\Doctrine\DoctrineLocalContextConnection::send PHP Method

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
    public function send(RemoteMethodInterface $remoteMethod)
    {
        return $this->getApplication()->search(PersistenceContextInterface::IDENTIFIER)->invoke($remoteMethod, $this->getSessions());
    }
DoctrineLocalContextConnection