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

setHost() public method

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

Usage Example

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