Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97015924
PhabricatorDestructionEngineExtension.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
Wed, Jan 1, 16:07
Size
649 B
Mime Type
text/x-php
Expires
Fri, Jan 3, 16:07 (2 d)
Engine
blob
Format
Raw Data
Handle
23312083
Attached To
rPH Phabricator
PhabricatorDestructionEngineExtension.php
View Options
<?php
abstract
class
PhabricatorDestructionEngineExtension
extends
Phobject
{
final
public
function
getExtensionKey
()
{
return
$this
->
getPhobjectClassConstant
(
'EXTENSIONKEY'
);
}
abstract
public
function
getExtensionName
();
public
function
canDestroyObject
(
PhabricatorDestructionEngine
$engine
,
$object
)
{
return
true
;
}
abstract
public
function
destroyObject
(
PhabricatorDestructionEngine
$engine
,
$object
);
final
public
static
function
getAllExtensions
()
{
return
id
(
new
PhutilClassMapQuery
())
->
setAncestorClass
(
__CLASS__
)
->
setUniqueMethod
(
'getExtensionKey'
)
->
execute
();
}
}
Event Timeline
Log In to Comment