Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
spelling = $spelling; } else { throw new InvalidArgumentException('Invalid value, dirty or clean possible'); } return $this; } /** * Get the Spell Checking State. * * @return string */ public function getSpelling() { return $this->spelling; } /** * Set the Grammatical Checking State (dirty or clean). * * @param string $grammar * * @return self */ public function setGrammar($grammar) { if ($grammar == self::CLEAN || $grammar == self::DIRTY) { $this->grammar = $grammar; } else { throw new InvalidArgumentException('Invalid value, dirty or clean possible'); } return $this; } /** * Get the Grammatical Checking State. * * @return string */ public function getGrammar() { return $this->grammar; } }