Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / infrastructure / customfield / interface / PhabricatorCustomFieldInterface.php
blobd8569d0a3cd627261c171d7cd1e299d62f8296c3
1 <?php
3 interface PhabricatorCustomFieldInterface {
5 public function getCustomFieldBaseClass();
6 public function getCustomFieldSpecificationForRole($role);
7 public function getCustomFields();
8 public function attachCustomFields(PhabricatorCustomFieldAttachment $fields);
13 // TEMPLATE IMPLEMENTATION /////////////////////////////////////////////////////
16 /* -( PhabricatorCustomFieldInterface )------------------------------------ */
19 private $customFields = self::ATTACHABLE;
21 public function getCustomFieldSpecificationForRole($role) {
22 return PhabricatorEnv::getEnvConfig(<<<'application.fields'>>>);
25 public function getCustomFieldBaseClass() {
26 return <<<<'YourApplicationHereCustomField'>>>>;
29 public function getCustomFields() {
30 return $this->assertAttached($this->customFields);
33 public function attachCustomFields(PhabricatorCustomFieldAttachment $fields) {
34 $this->customFields = $fields;
35 return $this;