Webmozart\Console\Api\IO\Output::isDebug PHP Method

isDebug() public method

Returns whether the verbosity level is {@link IO::DEBUG}.
public isDebug ( ) : boolean
return boolean Returns `true` if the verbosity level is {@link IO::DEBUG} and `false` otherwise.
    public function isDebug()
    {
        return IO::DEBUG === $this->verbosity;
    }

Usage Example

コード例 #1
0
ファイル: IO.php プロジェクト: webmozart/console
 /**
  * Returns whether the verbosity is {@link DEBUG}.
  *
  * @return bool Returns `true` if the verbosity is {@link DEBUG} and `false`
  *              otherwise.
  */
 public function isDebug()
 {
     return $this->output->isDebug();
 }