public function transform(Documentation $documentation) { return ['name' => $documentation->name, 'basePath' => $documentation->basePath]; }