Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F122201619
PhabricatorCacheSpec.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, Jul 16, 14:08
Size
922 B
Mime Type
text/x-php
Expires
Fri, Jul 18, 14:08 (2 d)
Engine
blob
Format
Raw Data
Handle
27448986
Attached To
rPH Phabricator
PhabricatorCacheSpec.php
View Options
<?php
abstract
class
PhabricatorCacheSpec
extends
Phobject
{
private
$name
;
private
$isEnabled
=
false
;
private
$version
;
private
$issues
=
array
();
public
function
setName
(
$name
)
{
$this
->
name
=
$name
;
return
$this
;
}
public
function
getName
()
{
return
$this
->
name
;
}
public
function
setIsEnabled
(
$is_enabled
)
{
$this
->
isEnabled
=
$is_enabled
;
return
$this
;
}
public
function
getIsEnabled
()
{
return
$this
->
isEnabled
;
}
public
function
setVersion
(
$version
)
{
$this
->
version
=
$version
;
return
$this
;
}
public
function
getVersion
()
{
return
$this
->
version
;
}
protected
function
newIssue
(
$title
,
$body
,
$option
=
null
)
{
$issue
=
array
(
'title'
=>
$title
,
'body'
=>
$body
,
'option'
=>
$option
,
);
$this
->
issues
[]
=
$issue
;
return
$issue
;
}
public
function
getIssues
()
{
return
$this
->
issues
;
}
}
Event Timeline
Log In to Comment