/** * getRandomWord * * @access public * @return void */ public function getRandomWord($maxSize=null) { if($maxSize) return DummyGenerators::substr($this->getRandomFileData($this->words),1,$maxSize); else return $this->getRandomFileData($this->words); }