original_string: public function bodyRequest($forApi = false) {
          $json = file_get_contents('php://input');
          $data = json_decode($json);
  
          $forApi ? $requestWithBodyRequest = $this->getInteractionsRequestForApi() : $requestWithBodyRequest = $this->getInteractionsRequest();
          foreach ($data as $key => $value)
              $requestWithBodyRequest->$key = $value;
  
          return $requestWithBodyRequest;
      }
code: public function bodyRequest($forApi = false) {
          $json = file_get_contents('php://input');
          $data = json_decode($json);
  
          $forApi ? $requestWithBodyRequest = $this->getInteractionsRequestForApi() : $requestWithBodyRequest = $this->getInteractionsRequest();
          foreach ($data as $key => $value)
              $requestWithBodyRequest->$key = $value;
  
          return $requestWithBodyRequest;
      }
code_tokens: public function bodyRequest ( $ forApi = false ) { $ json = file_get_contents ( 'php://input' ) ; $ data = json_decode ( $ json ) ; $ forApi ? $ requestWithBodyRequest = $ this -> getInteractionsRequestForApi ( ) : $ requestWithBodyRequest = $ this -> getInteractionsRequest ( ) ; foreach ( $ data as $ key => $ value ) $ requestWithBodyRequest -> $ key = $ value ; return $ requestWithBodyRequest ; }
docstring: Retorno del cuerpo de Request.
  
  @return  array
docstring_tokens: Retorno del cuerpo de Request .