rcrowe\Hippy\Transport\Guzzle::getEndpoint PHP Method

getEndpoint() public method

public getEndpoint ( )
    public function getEndpoint()
    {
        return $this->endpoint;
    }

Usage Example

コード例 #1
0
ファイル: GuzzleBasicTest.php プロジェクト: rcrowe/hippy
 public function testSetEndpoint()
 {
     $guzzle = new Guzzle('123', 'egg', 'vivalacrowe');
     $guzzle->setEndpoint('https://api.hipchat.com/v23890490234/');
     $this->assertEquals($guzzle->getEndpoint(), 'https://api.hipchat.com/v23890490234/');
 }