Webmozart\Console\Api\IO\Output::isDebug PHP 메소드

isDebug() 공개 메소드

Returns whether the verbosity level is {@link IO::DEBUG}.
public isDebug ( ) : boolean
리턴 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();
 }