src/FlexiPeeHP/FlexiBeeRO.php
public function getConnectionOptions()
    {
        $conOpts = ['url' => $this->url];
        if (empty($this->authSessionId)) {
            $conOpts ['user']    = $this->user;
            $conOpts['password'] = $this->password;
        } else {
            $conOpts['authSessionId'] = $this->authSessionId;
        }
        $company = $this->getCompany();
        if (!empty($company)) {
            $conOpts['company'] = $company;
        }
        if (!is_null($this->timeout)) {
            $conOpts['timeout'] = $this->timeout;
        }
        return $conOpts;
    }
public function getConnectionOptions()
    {
        $conOpts = ['url' => $this->url];
        if (empty($this->authSessionId)) {
            $conOpts ['user']    = $this->user;
            $conOpts['password'] = $this->password;
        } else {
            $conOpts['authSessionId'] = $this->authSessionId;
        }
        $company = $this->getCompany();
        if (!empty($company)) {
            $conOpts['company'] = $company;
        }
        if (!is_null($this->timeout)) {
            $conOpts['timeout'] = $this->timeout;
        }
        return $conOpts;
    }
public function getConnectionOptions ( ) { $ conOpts = [ 'url' => $ this -> url ] ; if ( empty ( $ this -> authSessionId ) ) { $ conOpts [ 'user' ] = $ this -> user ; $ conOpts [ 'password' ] = $ this -> password ; } else { $ conOpts [ 'authSessionId' ] = $ this -> authSessionId ; } $ company = $ this -> getCompany ( ) ; if ( ! empty ( $ company ) ) { $ conOpts [ 'company' ] = $ company ; } if ( ! is_null ( $ this -> timeout ) ) { $ conOpts [ 'timeout' ] = $ this -> timeout ; } return $ conOpts ; }
Get Current connection options for use in another object

@return array usable as second constructor parameter
Get Current connection options for use in another object