Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F28578655
PhabricatorPayloadEvent.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
939 B
Referenced Files
None
Subscribers
None
PhabricatorPayloadEvent.php
View Options
<?php
namespace
Nasqueron\Notifications\Events
;
use
Nasqueron\Notifications\Events\Event
;
use
Nasqueron\Notifications\Phabricator\PhabricatorStory
;
use
Illuminate\Queue\SerializesModels
;
class
PhabricatorPayloadEvent
extends
Event
{
use
SerializesModels
;
/**
* The gate door which receives the request
* @var string
*/
public
$door
;
/**
* The story sent by the request
* @var PhabricatorStory
*/
public
$story
;
/**
* The list of the projects attached to this story
* @var string[]
*/
public
$projects
;
/**
* Creates a new event instance.
*
* @param string $door
* @param string $event
* @param stdClass $payload
*/
public
function
__construct
(
$door
,
PhabricatorStory
$story
)
{
$this
->
door
=
$door
;
$this
->
story
=
$story
;
$this
->
projects
=
$story
->
getProjects
();
// Cost: up to 3 API calls
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, May 15, 12:00 (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3669484
Default Alt Text
PhabricatorPayloadEvent.php (939 B)
Attached To
Mode
rNOTIF Notifications center
Attached
Detach File
Event Timeline
Log In to Comment