Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F108076072
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
Sun, Apr 13, 23:36
Size
922 B
Mime Type
text/x-php
Expires
Tue, Apr 15, 23:36 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
25535238
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