Given a User class that extends a Fiber Document:
$user = User::find('john'); $user->email = "firstname.lastname@example.org"; $user->city = "San Francisco"; $user->save();
Fiber also includes some nifty chaining:
$user->set( array( "email" => "email@example.com", "city" => "Caracas" ) )->save();
Check out the examples in the source.
Have comments? Send a tweet to @TheChangelog on Twitter.
Subscribe to The Changelog Weekly – our weekly email covering everything that hits our open source radar.