Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F56361007
PhabricatorPayloadEvent.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
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
Sat, Nov 7, 10:21 (3 d, 3 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4245367
Default Alt Text
PhabricatorPayloadEvent.php (939 B)
Attached To
Mode
rNOTIF Notifications center
Attached
Detach File
Event Timeline
Log In to Comment