src/Mailjet/Client.php
private function setSettings()
    {
        if (!empty($this->settings['url']) && is_string($this->settings['url'])) {
            $this->url = $this->settings['url'];
        } if (!empty($this->settings['version']) && is_string($this->settings['version'])) {
            $this->version = $this->settings['version'];
        } if (isset($this->settings['call']) && is_bool($this->settings['call'])) {
            $this->call = $this->settings['call'];
        } if (isset($this->settings['secured']) && is_bool($this->settings['secured'])) {
            $this->secure = $this->settings['secured'];
        }
        $this->changed = false;
    }
private function setSettings()
    {
        if (!empty($this->settings['url']) && is_string($this->settings['url'])) {
            $this->url = $this->settings['url'];
        } if (!empty($this->settings['version']) && is_string($this->settings['version'])) {
            $this->version = $this->settings['version'];
        } if (isset($this->settings['call']) && is_bool($this->settings['call'])) {
            $this->call = $this->settings['call'];
        } if (isset($this->settings['secured']) && is_bool($this->settings['secured'])) {
            $this->secure = $this->settings['secured'];
        }
        $this->changed = false;
    }
private function setSettings ( ) { if ( ! empty ( $ this -> settings [ 'url' ] ) && is_string ( $ this -> settings [ 'url' ] ) ) { $ this -> url = $ this -> settings [ 'url' ] ; } if ( ! empty ( $ this -> settings [ 'version' ] ) && is_string ( $ this -> settings [ 'version' ] ) ) { $ this -> version = $ this -> settings [ 'version' ] ; } if ( isset ( $ this -> settings [ 'call' ] ) && is_bool ( $ this -> settings [ 'call' ] ) ) { $ this -> call = $ this -> settings [ 'call' ] ; } if ( isset ( $ this -> settings [ 'secured' ] ) && is_bool ( $ this -> settings [ 'secured' ] ) ) { $ this -> secure = $ this -> settings [ 'secured' ] ; } $ this -> changed = false ; }
set back the variables generating the url
set back the variables generating the url