/** * @param string $word */ public function __construct($word) { parent::__construct(QueryScanner::T_WORD, $word); }
/** * @param string $text */ public function __construct($text) { parent::__construct(QueryScanner::T_TEXT, $this->stripQuotes($text)); }