mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 12:33:26 +00:00
32 lines
635 B
PHP
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;
|
|
}
|
|
}
|