boot($baseDir); $newInvite = new \Eater\Glim\Model\Invite(); $newInvite->setInvite(md5(rand(0, PHP_INT_MAX))); $newInvite->save(); echo $newInvite->getInvite() . "\n";