1 | <?php |
||
35 | abstract class AbstractController extends Controller |
||
36 | { |
||
37 | /** |
||
38 | * The io interface in use. |
||
39 | * |
||
40 | * @var IOInterface |
||
41 | */ |
||
42 | private $inputOutput; |
||
43 | |||
44 | /** |
||
45 | * Retrieve the io instance or create a new one. |
||
46 | * |
||
47 | * @return IOInterface |
||
48 | */ |
||
49 | public function getInputOutput() |
||
57 | |||
58 | /** |
||
59 | * Return the output from the buffer io, if any is set. |
||
60 | * |
||
61 | * @return string|null |
||
62 | */ |
||
63 | protected function getOutput() |
||
71 | |||
72 | /** |
||
73 | * Retrieve a composer instance. |
||
74 | * |
||
75 | * @param null|IOInterface $inputOutput The input/output handler to use. |
||
76 | * |
||
77 | * @return Composer |
||
78 | */ |
||
79 | public function getComposer(IOInterface $inputOutput = null) |
||
88 | |||
89 | /** |
||
90 | * Retrieve the tenside instance. |
||
91 | * |
||
92 | * @return TensideJsonConfig |
||
93 | */ |
||
94 | public function getTensideConfig() |
||
98 | |||
99 | /** |
||
100 | * Retrieve the tenside instance. |
||
101 | * |
||
102 | * @return string |
||
103 | */ |
||
104 | public function getTensideHome() |
||
108 | |||
109 | /** |
||
110 | * Retrieve the tenside instance. |
||
111 | * |
||
112 | * @return string |
||
113 | */ |
||
114 | public function getTensideDataDir() |
||
118 | |||
119 | /** |
||
120 | * Retrieve the tenside task list. |
||
121 | * |
||
122 | * @return TaskList |
||
123 | */ |
||
124 | public function getTensideTasks() |
||
128 | } |
||
129 |