Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d0386e4

Browse files
committed
minor #10214 [3.0][Console] Added isVerbosity* to OutputInterface (lyrixx)
This PR was merged into the 2.5-dev branch. Discussion ---------- [3.0][Console] Added isVerbosity* to OutputInterface | Q | A | ------------- | --- | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Now, only `Output` have theses methods. But in the `Command` class, `execute` receive an instance of `OutputInterface`. So, to avoid coding against an implementation, theses method should be added to the interface. Commits ------- 816b295 [3.0][Console] Added isVerbosity* to OutputInterface
2 parents fe86efd + 816b295 commit d0386e4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

UPGRADE-3.0.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ UPGRADE FROM 2.x to 3.0
1818
`DebugClassLoader`. The difference is that the constructor now takes a
1919
loader to wrap.
2020

21+
### Console
22+
23+
* The methods `isQuiet`, `isVerbose`, `isVeryVerbose` and `isDebug` were added
24+
to `Symfony\Component\Console\Output\OutputInteface`.
25+
2126
### EventDispatcher
2227

2328
* The interface `Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcherInterface`

0 commit comments

Comments
 (0)