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

getHost() public method

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

Usage Example

Exemplo n.º 1
0
 public function test_Should_SetAndGetHost()
 {
     $dbSettingEntity = new DbSettingEntity();
     $dbSettingEntity->setHost('localhost');
     $retHost = $dbSettingEntity->getHost();
     $this->assertEquals('localhost', $retHost);
 }