public function MarkDownConverter() { return function ($file) { $converter = new CommonMarkConverter(); return $converter->convertToHTML($file); }; }