original_string: protected function executeUrl(
          ClientInterface $client,
          Url $url,
          RendererInterface $renderer,
          OutputInterface $output
      ) {
          $resultHTTPCode = $client->getResponseHTTPCode($url);
          $resultExecution = in_array(
              $resultHTTPCode,
              $url->getAcceptableHttpCodes()
          )
              ? 0
              : 1;
  
          $renderer->render(
              $output,
              $url,
              $resultHTTPCode,
              (0 === $resultExecution)
          );
  
          return $resultExecution;
      }
code: protected function executeUrl(
          ClientInterface $client,
          Url $url,
          RendererInterface $renderer,
          OutputInterface $output
      ) {
          $resultHTTPCode = $client->getResponseHTTPCode($url);
          $resultExecution = in_array(
              $resultHTTPCode,
              $url->getAcceptableHttpCodes()
          )
              ? 0
              : 1;
  
          $renderer->render(
              $output,
              $url,
              $resultHTTPCode,
              (0 === $resultExecution)
          );
  
          return $resultExecution;
      }
code_tokens: protected function executeUrl ( ClientInterface $ client , Url $ url , RendererInterface $ renderer , OutputInterface $ output ) { $ resultHTTPCode = $ client -> getResponseHTTPCode ( $ url ) ; $ resultExecution = in_array ( $ resultHTTPCode , $ url -> getAcceptableHttpCodes ( ) ) ? 0 : 1 ; $ renderer -> render ( $ output , $ url , $ resultHTTPCode , ( 0 === $ resultExecution ) ) ; return $ resultExecution ; }
docstring: Executes an URL and render the result given a renderer.
  
  If the url is executed as expected, then the result of the operation will
  be 0. Otherwise, the result will be 1.
  
  @param ClientInterface   $client   Client
  @param Url               $url      Url
  @param RendererInterface $renderer Renderer
  @param OutputInterface   $output   Output
  
  @return boolean Result of the execution
docstring_tokens: Executes an URL and render the result given a renderer .