getMail() 공개 메소드

Return the users mail address.
public getMail ( ) : string
리턴 string The users mail address.
예제 #1
0
파일: BaseTest.php 프로젝트: horde/horde
 public function testMethodGetmailGetsDelegated()
 {
     $session = $this->getMock('Horde_Kolab_Session');
     $session->expects($this->once())->method('getMail')->will($this->returnValue('1'));
     $anonymous = new Horde_Kolab_Session_Decorator_Base($session);
     $anonymous->getMail();
 }