original_string: public function getEscaper($context)
      {
          if (!isset($this->escapers[$context])) {
              throw new \InvalidArgumentException(sprintf('No registered escaper for context "%s".', $context));
          }
  
          return $this->escapers[$context];
      }
code: public function getEscaper($context)
      {
          if (!isset($this->escapers[$context])) {
              throw new \InvalidArgumentException(sprintf('No registered escaper for context "%s".', $context));
          }
  
          return $this->escapers[$context];
      }
code_tokens: public function getEscaper ( $ context ) { if ( ! isset ( $ this -> escapers [ $ context ] ) ) { throw new \ InvalidArgumentException ( sprintf ( 'No registered escaper for context "%s".' , $ context ) ) ; } return $ this -> escapers [ $ context ] ; }
docstring: Gets an escaper for a given context.
  
  @param string $context The context name
  
  @return callable A PHP callable
  
  @throws \InvalidArgumentException
docstring_tokens: Gets an escaper for a given context .