Files
Phraseanet/lib/Alchemy/Phrasea/Core/Event/CollectionRelated.php
Jean-Yves Gaulier 304e5d0849 #PHRAS-741 #time 1m
add forgotten files...
2015-10-28 15:34:13 +01:00

32 lines
635 B
PHP

<?php
namespace Alchemy\Phrasea\Core\Event;
use Symfony\Component\EventDispatcher\Event;
class CollectionRelated extends Event
{
/** @var \collection $collection */
private $collection;
/** @var array|null $args */
protected $args;
/**
* @param \collection|null $collection
* @param array|null $args
*/
public function __construct(\collection $collection, array $args = null)
{
$this->collection = $collection;
$this->args = $args;
}
/**
* @return \collection|null
*/
public function getCollection()
{
return $this->collection;
}
}