original_string: protected function getStatsd(InputInterface $input)
      {
          if (null === $this->statsd) {
              $this->statsdConnection = new UdpSocket(
                  $input->getOption('statsd-host'),
                  $input->getOption('statsd-port')
              );
              $this->statsd = new Client(
                  $this->statsdConnection,
                  $input->getOption('statsd-namespace')
              );
          }
  
          return $this->statsd;
      }
code: protected function getStatsd(InputInterface $input)
      {
          if (null === $this->statsd) {
              $this->statsdConnection = new UdpSocket(
                  $input->getOption('statsd-host'),
                  $input->getOption('statsd-port')
              );
              $this->statsd = new Client(
                  $this->statsdConnection,
                  $input->getOption('statsd-namespace')
              );
          }
  
          return $this->statsd;
      }
code_tokens: protected function getStatsd ( InputInterface $ input ) { if ( null === $ this -> statsd ) { $ this -> statsdConnection = new UdpSocket ( $ input -> getOption ( 'statsd-host' ) , $ input -> getOption ( 'statsd-port' ) ) ; $ this -> statsd = new Client ( $ this -> statsdConnection , $ input -> getOption ( 'statsd-namespace' ) ) ; } return $ this -> statsd ; }
docstring: Statically cache statsd client and return a statsd client
  
  @param InputInterface $input
  @return Client
docstring_tokens: Statically cache statsd client and return a statsd client