static function pull() { $tokenGen = new TokenPregen(); $tokens = $tokenGen->getWords(); if (count($tokens) < 2) { $tokens = $tokenGen->regenerate(); $tokens = $tokenGen->save(); $tokens = $tokenGen->getWords(); } //if all fails get them manually if (count($tokens) < 2) { $tokens = Tokens::getList(); } return $tokens; }