Jackalope\Transport\Jackrabbit\Request::execute PHP Метод

execute() публичный Метод

Prepares the curl object, executes it and checks for transport level errors, throwing the appropriate exceptions.
public execute ( boolean $getCurlObject = false, boolean $forceMultiple = false ) : string | Jackalope\Transport\Jackrabbit\curl | array
$getCurlObject boolean wheter to return the curl object instead of the response
$forceMultiple boolean whether to force parallel requests or not
Результат string | Jackalope\Transport\Jackrabbit\curl | array response string or the curl object.
    public function execute($getCurlObject = false, $forceMultiple = false)
    {
        if (!$forceMultiple && count($this->uri) === 1) {
            return $this->singleRequest($getCurlObject);
        }
        return $this->multiRequest($getCurlObject);
    }