mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +00:00
Integrate PhraseaCore in Events Manager
This commit is contained in:
@@ -15,6 +15,11 @@ abstract class eventsmanager_eventAbstract
|
||||
* @var registryInterface
|
||||
*/
|
||||
protected $registry;
|
||||
/**
|
||||
*
|
||||
* @var \Alchemy\Phrasea\Core
|
||||
*/
|
||||
protected $core;
|
||||
/**
|
||||
*
|
||||
* @var eventsmanager
|
||||
@@ -22,10 +27,11 @@ abstract class eventsmanager_eventAbstract
|
||||
protected $broker;
|
||||
|
||||
|
||||
public function __construct(appbox &$appbox, registryInterface $registry, eventsmanager_broker &$broker)
|
||||
public function __construct(appbox &$appbox, \Alchemy\Phrasea\Core $core, eventsmanager_broker &$broker)
|
||||
{
|
||||
$this->appbox = $appbox;
|
||||
$this->registry = $registry;
|
||||
$this->registry = $core->getRegistry();
|
||||
$this->core = $core;
|
||||
$this->broker = $broker;
|
||||
|
||||
return $this;
|
||||
|
Reference in New Issue
Block a user