refactoring for fetching content

This commit is contained in:
Nicolas Lœuillet
2015-01-26 22:15:19 +01:00
parent ad4d1caa9e
commit 6b767d1cc0
6 changed files with 135 additions and 12 deletions

View 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;
}
}