Skip to content

Commit 29ef7af

Browse files
committed
minor #11274 Added verbosity methods to NullOutput (WouterJ)
This PR was merged into the 2.4 branch. Discussion ---------- Added verbosity methods to NullOutput These 4 methods were not added to the OutputInterface because of BC, but they should still be implemented in all classes which implement that interface. Otherwise we have to do nasty tricks... | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- 0459249 Added verbosity methods
2 parents a28fb4e + d644346 commit 29ef7af

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Output/NullOutput.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,26 @@ public function getVerbosity()
7474
{
7575
return self::VERBOSITY_QUIET;
7676
}
77+
78+
public function isQuiet()
79+
{
80+
return true;
81+
}
82+
83+
public function isVerbose()
84+
{
85+
return false;
86+
}
87+
88+
public function isVeryVerbose()
89+
{
90+
return false;
91+
}
92+
93+
public function isDebug()
94+
{
95+
return false;
96+
}
7797

7898
/**
7999
* {@inheritdoc}

0 commit comments

Comments
 (0)