Doctrine\OrientDB\Binding\HttpBinding::getDocumentLocation PHP Méthode

getDocumentLocation() protected méthode

Returns the URL to fetch a document.
protected getDocumentLocation ( string $database, string $rid = null, string $fetchPlan = null ) : string
$database string
$rid string
$fetchPlan string
Résultat string
    protected function getDocumentLocation($database, $rid = null, $fetchPlan = null)
    {
        $this->ensureDatabase($database);
        $arguments = array($rid);
        if ($fetchPlan) {
            $arguments[] = $fetchPlan;
        }
        return $this->getLocation('document', $database, $arguments);
    }