getRead() public méthode

Get the server read connection.
public getRead ( ) : mixed
Résultat mixed The connection for reading data.
Exemple #1
0
 public function testMethodGetwriteHasResultMockldapTheHandledConnection()
 {
     $ldap = $this->getMock('Horde_Kolab_Server_Connection_Mock_Ldap', array(), array(), '', false, false);
     $conn = new Horde_Kolab_Server_Connection_Mock($ldap);
     $this->assertSame($conn->getWrite(), $conn->getRead());
 }