Add spacePHID infrastructure and implement in Paste

Summary:
Ref T8424. I'm using Paste as a testbed application because Spaces make some degree of sense for it but it's also flat/simple.

This doesn't do anything interesting or useful and mostly just making the next (more interesting) diff smaller.

Test Plan:
  - Ran `bin/storage upgrade -f`.
  - Browsed pastes.
  - Created a paste.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T8424

Differential Revision: https://secure.phabricator.com/D13154
This commit is contained in:
epriestley
2015-06-04 17:45:24 -07:00
parent 52a29be70d
commit 763b63a0fb
6 changed files with 50 additions and 14 deletions

View File

@@ -1,3 +1,18 @@
<?php
interface PhabricatorSpacesInterface extends PhabricatorPHIDInterface {}
interface PhabricatorSpacesInterface extends PhabricatorPHIDInterface {
public function getSpacePHID();
}
// TEMPLATE IMPLEMENTATION /////////////////////////////////////////////////////
/* -( PhabricatorSpacesInterface )----------------------------------------- */
/*
public function getSpacePHID() {
return $this->spacePHID;
}
*/