-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inject $input and $output into the command instance if it is set up t…
…o receive them.
- Loading branch information
1 parent
5452eb5
commit b28007e
Showing
2 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
/** | ||
* Provide OutputAwareInterface, not present in Symfony Console | ||
*/ | ||
|
||
namespace Consolidation\AnnotatedCommand\Output; | ||
|
||
use Symfony\Component\Console\Output\OutputInterface; | ||
|
||
interface OutputAwareInterface | ||
{ | ||
/** | ||
* Sets the Console Output. | ||
* | ||
* @param \Symfony\Component\Console\Output\OutputInterface $output | ||
*/ | ||
public function setOutput(OutputInterface $output); | ||
} |