Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F71309375
PhabricatorEventEngine.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Jul 11, 00:06
Size
688 B
Mime Type
text/x-php
Expires
Sat, Jul 13, 00:06 (2 d)
Engine
blob
Format
Raw Data
Handle
18935386
Attached To
rPH Phabricator
PhabricatorEventEngine.php
View Options
<?php
/**
* @group events
*/
final
class
PhabricatorEventEngine
{
public
static
function
initialize
()
{
$listeners
=
PhabricatorEnv
::
getEnvConfig
(
'events.listeners'
);
foreach
(
$listeners
as
$listener
)
{
id
(
new
$listener
())->
register
();
}
// Register the DarkConosole event logger.
id
(
new
DarkConsoleEventPluginAPI
())->
register
();
id
(
new
ManiphestEdgeEventListener
())->
register
();
$applications
=
PhabricatorApplication
::
getAllInstalledApplications
();
foreach
(
$applications
as
$application
)
{
$listeners
=
$application
->
getEventListeners
();
foreach
(
$listeners
as
$listener
)
{
$listener
->
register
();
}
}
}
}
Event Timeline
Log In to Comment