original_string: protected function getClient($clientName)
      {
          $clientName = $clientName ?: 'gbprod.elastica_extra.default_client';
  
          $client = $this->getContainer()
              ->get(
                  $clientName,
                  ContainerInterface::NULL_ON_INVALID_REFERENCE
              )
          ;
  
          $this->validateClient($client, $clientName);
  
          return $client;
      }
code: protected function getClient($clientName)
      {
          $clientName = $clientName ?: 'gbprod.elastica_extra.default_client';
  
          $client = $this->getContainer()
              ->get(
                  $clientName,
                  ContainerInterface::NULL_ON_INVALID_REFERENCE
              )
          ;
  
          $this->validateClient($client, $clientName);
  
          return $client;
      }
code_tokens: protected function getClient ( $ clientName ) { $ clientName = $ clientName ? : 'gbprod.elastica_extra.default_client' ; $ client = $ this -> getContainer ( ) -> get ( $ clientName , ContainerInterface :: NULL_ON_INVALID_REFERENCE ) ; $ this -> validateClient ( $ client , $ clientName ) ; return $ client ; }
docstring: Get elasticsearch client from his name
  
  @param string $clientName
  
  @return Client
docstring_tokens: Get elasticsearch client from his name