original_string: public function fireOnReceivedResponse(HttpResponse $response)
      {
          $event = EnumEvent::RESPONSE;
          if (isset($this->listeners[$event]) && is_array($this->listeners[$event]))
          {
              foreach($this->listeners[$event] as $l)
              {
                  $l($response);
              }
          }
      }
code: public function fireOnReceivedResponse(HttpResponse $response)
      {
          $event = EnumEvent::RESPONSE;
          if (isset($this->listeners[$event]) && is_array($this->listeners[$event]))
          {
              foreach($this->listeners[$event] as $l)
              {
                  $l($response);
              }
          }
      }
code_tokens: public function fireOnReceivedResponse ( HttpResponse $ response ) { $ event = EnumEvent :: RESPONSE ; if ( isset ( $ this -> listeners [ $ event ] ) && is_array ( $ this -> listeners [ $ event ] ) ) { foreach ( $ this -> listeners [ $ event ] as $ l ) { $ l ( $ response ) ; } } }
docstring: Fire event after received HTTP response
  
  @param HttpResponse $response
docstring_tokens: Fire event after received HTTP response