public function getLibraryVersion($name) { $repo = new PlatformRepository(); $lib = $repo->findLibrary($name); return $lib; }