Differential D25524 Diff 1678 src/applications/calendar/herald/PhabricatorCalendarEventHeraldAdapter.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/herald/PhabricatorCalendarEventHeraldAdapter.php
<?php | <?php | ||||
final class PhabricatorCalendarEventHeraldAdapter extends HeraldAdapter { | final class PhabricatorCalendarEventHeraldAdapter extends HeraldAdapter { | ||||
private $object; | private $object; | ||||
public function getAdapterApplicationClass() { | public function getAdapterApplicationClass() { | ||||
return 'PhabricatorCalendarApplication'; | return PhabricatorCalendarApplication::class; | ||||
} | } | ||||
public function getAdapterContentDescription() { | public function getAdapterContentDescription() { | ||||
return pht('React to events being created or updated.'); | return pht('React to events being created or updated.'); | ||||
} | } | ||||
protected function newObject() { | protected function newObject() { | ||||
return new PhabricatorCalendarEvent(); | return new PhabricatorCalendarEvent(); | ||||
Show All 40 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0