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;
}