Horde_Kolab_Session_Decorator_Base::getImapServer PHP Method

getImapServer() public method

Return the imap server.
public getImapServer ( ) : string
return string The imap host for the current user.
    public function getImapServer()
    {
        return $this->_session->getImapServer();
    }

Usage Example

コード例 #1
0
ファイル: BaseTest.php プロジェクト: horde/horde
 public function testMethodGetimapserverGetsDelegated()
 {
     $session = $this->getMock('Horde_Kolab_Session');
     $session->expects($this->once())->method('getImapServer')->will($this->returnValue('1'));
     $anonymous = new Horde_Kolab_Session_Decorator_Base($session);
     $anonymous->getImapServer();
 }