Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
[Json] Remove deprecated code
Browse files Browse the repository at this point in the history
  • Loading branch information
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/Server/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,29 +268,6 @@ public function getResponse()
return $this->_response;
}

/**
* Set flag indicating whether or not to auto-emit response
*
* @param bool $flag
* @return Server
* @deprecated Left just for BC, drop it as soon as not used by anyone - use setReturnResponse() with negation instead.
*/
public function setAutoEmitResponse($flag)
{
return $this->setReturnResponse(!$flag);
}

/**
* Will we auto-emit the response?
*
* @return bool
* @deprecated Left just for BC, drop it as soon as not used by anyone - use getReturnResponse() with negation instead.
*/
public function autoEmitResponse()
{
return !$this->getReturnResponse();
}

/**
* Set return response flag
*
Expand Down

0 comments on commit f7cb558

Please sign in to comment.