diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-26 22:15:19 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-26 22:15:19 +0100 |
commit | 6b767d1cc0e9697af95ec399fd612d203d10826a (patch) | |
tree | 5257200fa45da0218a9c63f0738f18eb6c876775 /src/Wallabag/CoreBundle/Helper | |
parent | ad4d1caa9e744af57ca58a4e57576533eb682d00 (diff) | |
download | wallabag-6b767d1cc0e9697af95ec399fd612d203d10826a.tar.gz wallabag-6b767d1cc0e9697af95ec399fd612d203d10826a.tar.zst wallabag-6b767d1cc0e9697af95ec399fd612d203d10826a.zip |
refactoring for fetching content
Diffstat (limited to 'src/Wallabag/CoreBundle/Helper')
-rw-r--r-- | src/Wallabag/CoreBundle/Helper/Content.php | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Helper/Content.php b/src/Wallabag/CoreBundle/Helper/Content.php new file mode 100644 index 00000000..81acbad7 --- /dev/null +++ b/src/Wallabag/CoreBundle/Helper/Content.php | |||
@@ -0,0 +1,34 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Wallabag\CoreBundle\Helper; | ||
4 | |||
5 | class Content | ||
6 | { | ||
7 | private $title; | ||
8 | |||
9 | private $body; | ||
10 | |||
11 | public function __constructor() { | ||
12 | |||
13 | } | ||
14 | |||
15 | public function getTitle() | ||
16 | { | ||
17 | return $this->title; | ||
18 | } | ||
19 | |||
20 | public function setTitle($title) | ||
21 | { | ||
22 | $this->title = $title; | ||
23 | } | ||
24 | |||
25 | public function getBody() | ||
26 | { | ||
27 | return $this->body; | ||
28 | } | ||
29 | |||
30 | public function setBody($body) | ||
31 | { | ||
32 | $this->body = $body; | ||
33 | } | ||
34 | } \ No newline at end of file | ||