Esempio n. 1
0
 /**
  * Gets the provided module with a specific version
  * @param string $namespace The namespace of the module
  * @param string $name The name of the module
  * @return string Base64 encoded string of the phar file of the module
  */
 public function getModuleLatestVersion($namespace, $name)
 {
     $file = $this->repository->getModuleFileForLatestVersion($namespace, $name);
     return $this->getBase64FromFile($file);
 }