Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93893137
PhabricatorFactSimpleSpec.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
Mon, Dec 2, 07:55
Size
612 B
Mime Type
text/x-php
Expires
Wed, Dec 4, 07:55 (2 d)
Engine
blob
Format
Raw Data
Handle
22715575
Attached To
rPH Phabricator
PhabricatorFactSimpleSpec.php
View Options
<?php
final
class
PhabricatorFactSimpleSpec
extends
PhabricatorFactSpec
{
private
$type
;
private
$name
;
private
$unit
;
public
function
__construct
(
$type
)
{
$this
->
type
=
$type
;
}
public
function
getType
()
{
return
$this
->
type
;
}
public
function
setUnit
(
$unit
)
{
$this
->
unit
=
$unit
;
return
$this
;
}
public
function
getUnit
()
{
return
$this
->
unit
;
}
public
function
setName
(
$name
)
{
$this
->
name
=
$name
;
return
$this
;
}
public
function
getName
()
{
if
(
$this
->
name
!==
null
)
{
return
$this
->
name
;
}
return
parent
::
getName
();
}
}
Event Timeline
Log In to Comment