fix command help text output
[pharext/pharext] / src / pharext / SourceDir.php
1 <?php
2
3 namespace pharext;
4
5 /**
6 * Source directory interface, which should yield file names to package on traversal
7 */
8 interface SourceDir extends \Traversable
9 {
10 /**
11 * Retrieve the base directory
12 * @return string
13 */
14 public function getBaseDir();
15
16 /**
17 * Retrieve gathered package info
18 * @return array|Traversable
19 */
20 public function getPackageInfo();
21
22 /**
23 * Retrieve the full text license
24 * @return string
25 */
26 public function getLicense();
27
28 /**
29 * Provide installer command line args
30 * @return array|Traversable
31 */
32 public function getArgs();
33
34 /**
35 * Process installer command line args
36 * @param \pharext\Cli\Args $args
37 */
38 public function setArgs(Cli\Args $args);
39 }