Integrate graby

This commit is contained in:
Jeremy Benoist
2015-08-24 12:27:17 +02:00
parent 8c55a9e6c9
commit fad316151c
10 changed files with 58 additions and 180 deletions

View File

@ -1,34 +0,0 @@
<?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;
}
}

View File

@ -1,28 +0,0 @@
<?php
namespace Wallabag\CoreBundle\Helper;
class Url
{
public $url;
public function __construct($url)
{
$this->url = base64_decode($url);
}
public function getUrl()
{
return $this->url;
}
public function setUrl($url)
{
$this->url = $url;
}
public function isCorrect()
{
return filter_var($this->url, FILTER_VALIDATE_URL) !== false;
}
}