forked from wallabag/wallabag
refactoring for fetching content
This commit is contained in:
34
src/Wallabag/CoreBundle/Helper/Content.php
Normal file
34
src/Wallabag/CoreBundle/Helper/Content.php
Normal file
@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace Wallabag\CoreBundle\Helper;
|
||||
|
||||
class Content
|
||||
{
|
||||
private $title;
|
||||
|
||||
private $body;
|
||||
|
||||
public function __constructor() {
|
||||
|
||||
}
|
||||
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
|
||||
public function setTitle($title)
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
|
||||
public function getBody()
|
||||
{
|
||||
return $this->body;
|
||||
}
|
||||
|
||||
public function setBody($body)
|
||||
{
|
||||
$this->body = $body;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user