You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,12 @@ $post->body = "Hello from Writeas.php";
36
36
$post->save();
37
37
```
38
38
39
+
The Context is your livelyhood for communicating with the instance you specify in it's constructor. It handles the building of requests and updating of object instances.
40
+
41
+
If you work with Anonymous data like Posts, it's important that you save the returned token that you get after initially saving your Post. Otherwise you are unable to update the post.
42
+
43
+
Objects like Post or Collection will update automagically after calling a save/get functions. For instance, if you ->save a Post, it's token will appear in ->token.
0 commit comments