src/PhpConsole/Connector.php
private function listenGetPostponedResponse() {
		if(isset($_POST[self::POST_VAR_NAME]['getPostponedResponse'])) {
			header('Content-Type: application/json; charset=' . self::CLIENT_ENCODING);
			echo $this->getPostponeStorage()->pop($_POST[self::POST_VAR_NAME]['getPostponedResponse']);
			$this->disable();
			exit;
		}
	}
private function listenGetPostponedResponse() {
		if(isset($_POST[self::POST_VAR_NAME]['getPostponedResponse'])) {
			header('Content-Type: application/json; charset=' . self::CLIENT_ENCODING);
			echo $this->getPostponeStorage()->pop($_POST[self::POST_VAR_NAME]['getPostponedResponse']);
			$this->disable();
			exit;
		}
	}
private function listenGetPostponedResponse ( ) { if ( isset ( $ _POST [ self :: POST_VAR_NAME ] [ 'getPostponedResponse' ] ) ) { header ( 'Content-Type: application/json; charset=' . self :: CLIENT_ENCODING ) ; echo $ this -> getPostponeStorage ( ) -> pop ( $ _POST [ self :: POST_VAR_NAME ] [ 'getPostponedResponse' ] ) ; $ this -> disable ( ) ; exit ; } }
Check if there is postponed response request and dispatch it
Check if there is postponed response request and dispatch it