Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F122201825
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, Jul 16, 14:11
Size
367 B
Mime Type
text/x-php
Expires
Fri, Jul 18, 14:11 (2 d)
Engine
blob
Format
Raw Data
Handle
27449025
Attached To
rPHU libphutil
PhutilPersonTest.php
View Options
<?php
final
class
PhutilPersonTest
extends
Phobject
implements
PhutilPerson
{
private
$gender
=
PhutilPerson
::
GENDER_UNKNOWN
;
public
function
getGender
()
{
return
$this
->
gender
;
}
public
function
setGender
(
$value
)
{
$this
->
gender
=
$value
;
return
$this
;
}
public
function
__toString
()
{
return
pht
(
'Test (%s)'
,
$this
->
gender
);
}
}
Event Timeline
Log In to Comment