Page MenuHomePhorge

AphrontPlainTextResponse.php
No OneTemporary

Size
445 B
Referenced Files
None
Subscribers
None

AphrontPlainTextResponse.php

<?php
final class AphrontPlainTextResponse extends AphrontResponse {
private $content;
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; charset=utf-8'),
);
return array_merge(parent::getHeaders(), $headers);
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, May 3, 3:55 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
58523
Default Alt Text
AphrontPlainTextResponse.php (445 B)

Event Timeline