1 | <?php |
||
18 | class BowerphpConsoleOutput |
||
19 | { |
||
20 | protected $output; |
||
21 | |||
22 | /** |
||
23 | * @param OutputInterface $output |
||
24 | */ |
||
25 | public function __construct(OutputInterface $output) |
||
29 | |||
30 | /** |
||
31 | * writelnInfoPackage |
||
32 | * |
||
33 | * @param PackageInterface $package |
||
34 | * @param string $action |
||
35 | * @param string $message |
||
36 | */ |
||
37 | public function writelnInfoPackage(PackageInterface $package, $action = '', $message = '') |
||
45 | |||
46 | /** |
||
47 | * writelnInstalledPackage |
||
48 | * |
||
49 | * @param PackageInterface $package |
||
50 | */ |
||
51 | public function writelnInstalledPackage(PackageInterface $package) |
||
58 | |||
59 | /** |
||
60 | * writelnNoBowerJsonFile |
||
61 | */ |
||
62 | public function writelnNoBowerJsonFile() |
||
71 | |||
72 | /** |
||
73 | * Rewrite json with colors and unescaped slashes |
||
74 | * |
||
75 | * @param string $jsonString |
||
76 | */ |
||
77 | public function writelnJson($jsonString) |
||
84 | |||
85 | /** |
||
86 | * writelnJson |
||
87 | * |
||
88 | * @param mixed $jsonPart |
||
89 | */ |
||
90 | public function writelnJsonText($jsonPart) |
||
94 | |||
95 | /** |
||
96 | * writelnSearchOrLookup |
||
97 | * |
||
98 | * @param string $name |
||
99 | * @param string $homepage |
||
100 | * @param int $pad |
||
101 | */ |
||
102 | public function writelnSearchOrLookup($name, $homepage, $pad = 0) |
||
106 | |||
107 | /** |
||
108 | * writelnListPackage |
||
109 | * |
||
110 | * @param PackageInterface $package |
||
111 | * @param Bowerphp $bowerphp |
||
112 | */ |
||
113 | public function writelnListPackage(PackageInterface $package, Bowerphp $bowerphp) |
||
121 | |||
122 | public function writelnUpdatingPackage(PackageInterface $package) |
||
129 | } |
||
130 |