Skip to content

Commit 01b135a

Browse files
committed
Improved README markup
1 parent 034bf53 commit 01b135a

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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

55
This repository just contains a simple base class for PHP data objects.
66

@@ -12,12 +12,14 @@ and ensures a clone is performed recursively.
1212
To use this data object base class for your own data objects, just use
1313
something 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

2224
If you now access unknown properties you will get exceptions. For more details
2325
on the motivation behind this, read:

0 commit comments

Comments
 (0)