original_string: public function login () {
  		$this->connectIfNeeded(false);
  		$this->handle->login();
  		$this->onLogin(new Event(['sender' => $this, 'data' => $this->handle->user]));
  	}
code: public function login () {
  		$this->connectIfNeeded(false);
  		$this->handle->login();
  		$this->onLogin(new Event(['sender' => $this, 'data' => $this->handle->user]));
  	}
code_tokens: public function login ( ) { $ this -> connectIfNeeded ( false ) ; $ this -> handle -> login ( ) ; $ this -> onLogin ( new Event ( [ 'sender' => $ this , 'data' => $ this -> handle -> user ] ) ) ; }
docstring: Log into the FTP server. If connection is not openned, it will be openned before login.
  
  @param string    $user          Username used for log on FTP server.
  @param string    $password      Password used for log on FTP server.
  
  @throws FtpException if connection failed.
docstring_tokens: Log into the FTP server . If connection is not openned it will be openned before login .