Skip to content

Commit 486e539

Browse files
committed
Add example of accessor
1 parent 411c1be commit 486e539

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,8 @@ class SensetiveModel extends RedactedModel
9595
return subStr($value, 0).'***'.subStr($value, -1);
9696
}
9797
}
98+
99+
...
100+
101+
$instanceOfRedactedModel->name // Returns K***y instead of Kathryn Janeway
98102
```

0 commit comments

Comments
 (0)