original_string: protected static function getMapCallback($revisioned)
      {
          // We need to pass the calling class to the closure scope
          // instead of calling new static(), since php is going
          // to instantiate it w/o late static binding (bug).
          $presenter = get_called_class();
  
          return function ($revision) use ($presenter, $revisioned) {
              return new $presenter($revision, $revisioned);
          };
      }
code: protected static function getMapCallback($revisioned)
      {
          // We need to pass the calling class to the closure scope
          // instead of calling new static(), since php is going
          // to instantiate it w/o late static binding (bug).
          $presenter = get_called_class();
  
          return function ($revision) use ($presenter, $revisioned) {
              return new $presenter($revision, $revisioned);
          };
      }
code_tokens: protected static function getMapCallback ( $ revisioned ) { // We need to pass the calling class to the closure scope // instead of calling new static(), since php is going // to instantiate it w/o late static binding (bug). $ presenter = get_called_class ( ) ; return function ( $ revision ) use ( $ presenter , $ revisioned ) { return new $ presenter ( $ revision , $ revisioned ) ; } ; }
docstring: Get callback for the array map.
  
  @return \Closure
docstring_tokens: Get callback for the array map .