App\Entities\Setting\DbSettingEntity::getHost PHP Method

getHost() public method

public getHost ( )
    public function getHost()
    {
        return $this->host;
    }

Usage Example

コード例 #1
0
ファイル: DbSettingEntityTest.php プロジェクト: ngmy/webloyer
 public function test_Should_SetAndGetHost()
 {
     $dbSettingEntity = new DbSettingEntity();
     $dbSettingEntity->setHost('localhost');
     $retHost = $dbSettingEntity->getHost();
     $this->assertEquals('localhost', $retHost);
 }