Skip to content

Instantly share code, notes, and snippets.

@seanhess
Created December 31, 2010 07:38
Show Gist options
  • Save seanhess/760831 to your computer and use it in GitHub Desktop.
Save seanhess/760831 to your computer and use it in GitHub Desktop.
R::gen("BlogPost");
$post = new BlogPost();
$post->title = "Title";
$post->description = "description";
$post->save();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment