value = $pValue; $this->tokenType = $pTokenType; $this->tokenSubType = $pTokenSubType; } /** * Get Value. * * @return string */ public function getValue() { return $this->value; } /** * Set Value. * * @param string $value */ public function setValue($value) { $this->value = $value; } /** * Get Token Type (represented by TOKEN_TYPE_*). * * @return string */ public function getTokenType() { return $this->tokenType; } /** * Set Token Type. * * @param string $value */ public function setTokenType($value = self::TOKEN_TYPE_UNKNOWN) { $this->tokenType = $value; } /** * Get Token SubType (represented by TOKEN_SUBTYPE_*). * * @return string */ public function getTokenSubType() { return $this->tokenSubType; } /** * Set Token SubType. * * @param string $value */ public function setTokenSubType($value = self::TOKEN_SUBTYPE_NOTHING) { $this->tokenSubType = $value; } }