original_string: private function getFilters(array $filters, $level)
      {
          if (empty($filters)) {
              return '';
          }
  
          $name     = array_shift($filters);
          $method   = $this->getFindMethod($name);
          $filter   = ($method !== 'last') ? var_export($name, true) : '';
          $callable = $this->getCallable('$filter');
          $msg      = var_export($name, true);
  
          return sprintf($this->prepare(self::FILTER, $level), $method, $filter, $callable, $msg, $this->getFilters($filters, $level));
      }
code: private function getFilters(array $filters, $level)
      {
          if (empty($filters)) {
              return '';
          }
  
          $name     = array_shift($filters);
          $method   = $this->getFindMethod($name);
          $filter   = ($method !== 'last') ? var_export($name, true) : '';
          $callable = $this->getCallable('$filter');
          $msg      = var_export($name, true);
  
          return sprintf($this->prepare(self::FILTER, $level), $method, $filter, $callable, $msg, $this->getFilters($filters, $level));
      }
code_tokens: private function getFilters ( array $ filters , $ level ) { if ( empty ( $ filters ) ) { return '' ; } $ name = array_shift ( $ filters ) ; $ method = $ this -> getFindMethod ( $ name ) ; $ filter = ( $ method !== 'last' ) ? var_export ( $ name , true ) : '' ; $ callable = $ this -> getCallable ( '$filter' ) ; $ msg = var_export ( $ name , true ) ; return sprintf ( $ this -> prepare ( self :: FILTER , $ level ) , $ method , $ filter , $ callable , $ msg , $ this -> getFilters ( $ filters , $ level ) ) ; }
docstring: Generate Mustache Template variable filtering PHP source.
  
  @param string[] $filters Array of filters
  @param int      $level
  
  @return string Generated filter PHP source
docstring_tokens: Generate Mustache Template variable filtering PHP source .