Doctrine\OrientDB\Query\Command::getTokenReplaces PHP Method

getTokenReplaces() protected method

Returns the values to replace command's schema tokens.
protected getTokenReplaces ( ) : array
return array
    protected function getTokenReplaces()
    {
        $replaces = array();
        foreach ($this->tokens as $token => $value) {
            $key = $this->getFormatter()->untokenize($token);
            $formatter = $this->getTokenFormatter($key);
            $replaces[$token] = $formatter::format($value);
        }
        return $replaces;
    }