From 96b51c59d8551d1756666edfd8bad9bb878bda97 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Wed, 14 Sep 2011 06:52:21 -0500 Subject: [PATCH] Adding some basic PHPDoc --- src/Composer/Compiler.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Composer/Compiler.php b/src/Composer/Compiler.php index 1dec1ff35..2287a5aae 100644 --- a/src/Composer/Compiler.php +++ b/src/Composer/Compiler.php @@ -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)) {