Skip to content

Commit

Permalink
adding missing method to interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Idrinth authored Feb 18, 2019
1 parent 95dd89e commit 0304a4e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions phalcon/http/responseinterface.zep
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ interface ResponseInterface
*/
public function hasHeader(string name) -> bool;

/**
* Checks if the response was already sent
*/
public function isSent() -> bool;

/**
* Redirect by HTTP to another action or URL
*/
Expand Down

0 comments on commit 0304a4e

Please sign in to comment.