Files
Phraseanet/lib/classes/Bridge/Api/ElementCollection.class.php
2012-04-26 02:06:29 +02:00

33 lines
677 B
PHP

<?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 Bridge
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link www.phraseanet.com
*/
class Bridge_Api_ElementCollection extends Bridge_Api_AbstractCollection
{
/**
*
* @param Bridge_Api_ElementInterface $element
* @return Bridge_Api_ElementCollection
*/
public function add_element(Bridge_Api_ElementInterface $element)
{
$this->elements[] = $element;
return $this;
}
}