diff --git a/src/Composer/Compiler.php b/src/Composer/Compiler.php index 3e533bf98..2287a5aae 100644 --- a/src/Composer/Compiler.php +++ b/src/Composer/Compiler.php @@ -16,7 +16,7 @@ use Symfony\Component\Finder\Finder; use Symfony\Component\Process\Process; /** - * The Compiler class compiles the Silex framework. + * The Compiler class compiles composer into a phar * * @author Fabien Potencier */ @@ -24,6 +24,12 @@ class Compiler { protected $version; + /** + * Compiles composer into a single phar file + * + * @throws \RuntimeException + * @param string $pharFile The full path to the file to create + */ public function compile($pharFile = 'composer.phar') { if (file_exists($pharFile)) {