Page MenuHomec4science

PhabricatorCalendarManagementNotifyWorkflow.php
No OneTemporary

File Metadata

Created
Tue, May 6, 12:57

PhabricatorCalendarManagementNotifyWorkflow.php

<?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