Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
adbario authored Sep 18, 2016
1 parent 866ebae commit 107cf86
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,20 +149,20 @@ Clear all data:

Magic methods can be used to handle single level data (without dot notation).

Set value
Set value:

$data->name = 'John';

Get value
Get value:

echo $data->name;

Check if value exists
Check if value exists:

if (isset($data->name)) {
// Do something...
}

Delete value
Delete value:

unset($data->name);

0 comments on commit 107cf86

Please sign in to comment.