Doctrine\OrientDB\Query\Command::setTokenValues PHP Метод

setTokenValues() защищенный Метод

Sets the values of a token, and can be appended with the given $append.
protected setTokenValues ( string $token, array $tokenValues, boolean $append = true, boolean $first = false ) : true
$token string
$tokenValues array
$append boolean
$first boolean
Результат true
    protected function setTokenValues($token, array $tokenValues, $append = true, $first = false)
    {
        $token = $this->tokenize($token);
        $this->checkToken($token);
        if (is_array($this->tokens[$token]) && is_array($tokenValues)) {
            if ($append) {
                $this->appendToken($token, $tokenValues, $first);
            } else {
                $this->unsetToken($token);
                $this->tokens[$token] = $tokenValues;
            }
        }
        return true;
    }