Deployer\Server\Configuration::setUser PHP Method

setUser() public method

Set user
public setUser ( string $user ) : Configuration
$user string
return Configuration
    public function setUser($user)
    {
        $this->user = $user;
        return $this;
    }

Usage Example

Example #1
0
 /**
  * Define user name for authentication.
  *
  * @param string $name
  *
  * @return Builder
  */
 public function user($name)
 {
     $this->config->setUser($name);
     return $this;
 }