original_string: public function addFilter($name, $handler)
      {
          if (is_string($handler) && !is_callable($handler)) {
              $handler = new $handler();
          }
  
          $this->pug->filter($name, $handler);
      }
code: public function addFilter($name, $handler)
      {
          if (is_string($handler) && !is_callable($handler)) {
              $handler = new $handler();
          }
  
          $this->pug->filter($name, $handler);
      }
code_tokens: public function addFilter ( $ name , $ handler ) { if ( is_string ( $ handler ) && ! is_callable ( $ handler ) ) { $ handler = new $ handler ( ) ; } $ this -> pug -> filter ( $ name , $ handler ) ; }
docstring: Adds custom filter.
  
  @param string   $name
  @param callable $handler
docstring_tokens: Adds custom filter .