Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95660913
PhutilPersonTest.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, Dec 18, 03:10
Size
350 B
Mime Type
text/x-php
Expires
Fri, Dec 20, 03:10 (2 d)
Engine
blob
Format
Raw Data
Handle
23038587
Attached To
rPHU libphutil
PhutilPersonTest.php
View Options
<?php
/**
* @group testcase
*/
final
class
PhutilPersonTest
implements
PhutilPerson
{
private
$sex
=
PhutilPerson
::
SEX_UNKNOWN
;
public
function
getSex
()
{
return
$this
->
sex
;
}
public
function
setSex
(
$value
)
{
$this
->
sex
=
$value
;
return
$this
;
}
public
function
__toString
()
{
return
'Test ('
.
$this
->
sex
.
')'
;
}
}
Event Timeline
Log In to Comment