src/Endpoint/Abstracts/AbstractEndpoint.php
protected function configureRequest()
    {
        if ($this->verifyUrl()) {
            $this->Request->setURL($this->Url);
        }
        if ($this->verifyData() && !empty($this->Data)) {
            $this->Request->setBody($this->Data);
        }
        $this->configureAuth();
    }
protected function configureRequest()
    {
        if ($this->verifyUrl()) {
            $this->Request->setURL($this->Url);
        }
        if ($this->verifyData() && !empty($this->Data)) {
            $this->Request->setBody($this->Data);
        }
        $this->configureAuth();
    }
protected function configureRequest ( ) { if ( $ this -> verifyUrl ( ) ) { $ this -> Request -> setURL ( $ this -> Url ) ; } if ( $ this -> verifyData ( ) && ! empty ( $ this -> Data ) ) { $ this -> Request -> setBody ( $ this -> Data ) ; } $ this -> configureAuth ( ) ; }
Verifies URL and Data are setup, then sets them on the Request Object
@throws InvalidURLException
@throws RequiredDataException
Verifies URL and Data are setup then sets them on the Request Object