mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 12:33:26 +00:00
30 lines
619 B
PHP
30 lines
619 B
PHP
<?php
|
|
|
|
namespace Alchemy\Phrasea\Core\Event;
|
|
|
|
use Symfony\Component\EventDispatcher\Event;
|
|
|
|
class DataboxRelated extends Event
|
|
{
|
|
/** @var \databox|null $databox */
|
|
private $databox;
|
|
|
|
/** @var array|null $args supplemental parameters specific to an inherited event class */
|
|
protected $args;
|
|
|
|
/**
|
|
* @param \databox|null $databox
|
|
* @param array|null $args
|
|
*/
|
|
public function __construct(\databox $databox, array $args = null)
|
|
{
|
|
$this->databox = $databox;
|
|
$this->args = $args;
|
|
}
|
|
|
|
public function getDatabox()
|
|
{
|
|
return $this->databox;
|
|
}
|
|
}
|