/** * @throws \SMBBundle\SMB\Exception\ConnectionException * @throws \SMBBundle\SMB\Exception\AuthenticationException * @throws \SMBBundle\SMB\Exception\InvalidHostException */ protected function connect() { if ($this->state and $this->state instanceof NativeShare) { return; } $this->state->init($this->server->getWorkgroup(), $this->server->getUser(), $this->server->getPassword()); }
protected function connect() { $this->state->init($this->getWorkgroup(), $this->getUser(), $this->getPassword()); }