original_string: protected function _getRule($rule)
      {
          if ($rule instanceof FilterInterface) {
              return $rule;
          }
  
          $rule = (string) $rule;
          return $this->getPluginManager()->get($rule);
      }
code: protected function _getRule($rule)
      {
          if ($rule instanceof FilterInterface) {
              return $rule;
          }
  
          $rule = (string) $rule;
          return $this->getPluginManager()->get($rule);
      }
code_tokens: protected function _getRule ( $ rule ) { if ( $ rule instanceof FilterInterface ) { return $ rule ; } $ rule = ( string ) $ rule ; return $ this -> getPluginManager ( ) -> get ( $ rule ) ; }
docstring: Resolve named filters and convert them to filter objects.
  
  @param  string $rule
  @return FilterInterface
docstring_tokens: Resolve named filters and convert them to filter objects .