Deployer\Server\Configuration::setHost PHP Method

setHost() public method

Set host for connection
public setHost ( string $host ) : Configuration
$host string
return Configuration
    public function setHost($host)
    {
        $this->host = $host;
        return $this;
    }

Usage Example

Example #1
0
 /**
  * Define server host
  *
  * @param string $host
  *
  * @return Builder
  */
 public function host($host)
 {
     $this->config->setHost($host);
     return $this;
 }