Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F619345
AphrontResponseProducerInterface.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
687 B
Referenced Files
None
Subscribers
None
AphrontResponseProducerInterface.php
View Options
<?php
/**
* An object can implement this interface to allow it to be returned directly
* from an @{class:AphrontController}.
*
* Normally, controllers must return an @{class:AphrontResponse}. Sometimes,
* this is not convenient or requires an awkward API. If it's preferable to
* return some other type of object which is equivalent to or describes a
* valid response, that object can implement this interface and produce a
* response later.
*/
interface
AphrontResponseProducerInterface
{
/**
* Produce the equivalent @{class:AphrontResponse} for this object.
*
* @return AphrontResponse Equivalent response.
*/
public
function
produceAphrontResponse
();
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, May 14, 11:15 AM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
105171
Default Alt Text
AphrontResponseProducerInterface.php (687 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment