Commit bd2cb485 authored by zYne's avatar zYne

--no commit message

--no commit message
parent ec7a9a3c
...@@ -204,6 +204,16 @@ $user->save(); ...@@ -204,6 +204,16 @@ $user->save();
$user->id; // 1 $user->id; // 1
</code> </code>
++++ Mapping custom values
There might be situations where you want to map custom values to records. For example values that depend on some outer sources and you only want these values to be availible at runtime not persisting those values into database. This can be achieved as follows:
<code type="php">
$user->mapValue('isRegistered', true);
$user->isRegistered; // true
</code>
++++ Serializing ++++ Serializing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment