Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F21409822
AphrontPlainTextResponse.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
435 B
Referenced Files
None
Subscribers
None
AphrontPlainTextResponse.php
View Options
<?php
/**
* @group aphront
*/
final
class
AphrontPlainTextResponse
extends
AphrontResponse
{
public
function
setContent
(
$content
)
{
$this
->
content
=
$content
;
return
$this
;
}
public
function
buildResponseString
()
{
return
$this
->
content
;
}
public
function
getHeaders
()
{
$headers
=
array
(
array
(
'Content-Type'
,
'text/plain'
),
);
return
array_merge
(
parent
::
getHeaders
(),
$headers
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Jul 31, 11:28 AM (1 d, 23 h)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
16392526
Default Alt Text
AphrontPlainTextResponse.php (435 B)
Attached To
Mode
rP Phabricator
Attached
Detach File
Event Timeline
Log In to Comment