Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F111986701
PhabricatorCalendarManagementNotifyWorkflow.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
Tue, May 6, 12:57
Size
577 B
Mime Type
text/x-php
Expires
Thu, May 8, 12:57 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
26001228
Attached To
rPH Phabricator
PhabricatorCalendarManagementNotifyWorkflow.php
View Options
<?php
final
class
PhabricatorCalendarManagementNotifyWorkflow
extends
PhabricatorCalendarManagementWorkflow
{
protected
function
didConstruct
()
{
$this
->
setName
(
'notify'
)
->
setExamples
(
'**notify** [options]'
)
->
setSynopsis
(
pht
(
'Test and debug notifications about upcoming events.'
))
->
setArguments
(
array
());
}
public
function
execute
(
PhutilArgumentParser
$args
)
{
$viewer
=
$this
->
getViewer
();
$engine
=
new
PhabricatorCalendarNotificationEngine
();
$engine
->
publishNotifications
();
return
0
;
}
}
Event Timeline
Log In to Comment