Use composer as application autoloader

This commit is contained in:
Romain Neutron
2013-01-18 17:47:25 +01:00
parent 358cdddcc6
commit 2069d40544
784 changed files with 1031 additions and 1806 deletions

80
lib/classes/Feed/Link.php Normal file
View File

@@ -0,0 +1,80 @@
<?php
/*
* This file is part of Phraseanet
*
* (c) 2005-2012 Alchemy
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
*
* @package Feeds
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link www.phraseanet.com
*/
class Feed_Link implements Feed_LinkInterface
{
/**
*
* @var string
*/
protected $mimetype;
/**
*
* @var string
*/
protected $title;
/**
*
* @var string
*/
protected $href;
/**
*
* @param string $href
* @param string $title
* @param string $mimetype
* @return Feed_Link
*/
public function __construct($href, $title, $mimetype)
{
$this->mimetype = $mimetype;
$this->href = $href;
$this->title = $title;
return $this;
}
/**
*
* @return string
*/
public function get_mimetype()
{
return $this->mimetype;
}
/**
*
* @return string
*/
public function get_title()
{
return $this->title;
}
/**
*
* @return string
*/
public function get_href()
{
return $this->href;
}
}