File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 11# Data Object
22
3- ![ Travis Build Status] ( https://travis-ci.org/kore/DataObject.svg " Travis Build Status ")
3+ [ ![ Travis Build Status] ( https://travis-ci.org/kore/DataObject.svg " Travis Build Status ")] ( https://travis-ci.org/kore/DataObject )
44
55This repository just contains a simple base class for PHP data objects.
66
@@ -12,12 +12,14 @@ and ensures a clone is performed recursively.
1212To use this data object base class for your own data objects, just use
1313something like this:
1414
15- class Person extends \Kore\DataObject\DataObject
16- {
17- public $prename;
15+ ``` php
16+ class Person extends \Kore\DataObject\DataObject
17+ {
18+ public $prename;
1819
19- public $forename;
20- }
20+ public $forename;
21+ }
22+ ```
2123
2224If you now access unknown properties you will get exceptions. For more details
2325on the motivation behind this, read:
You can’t perform that action at this time.
0 commit comments