protected function mayWrite($flags)
    {
        if ($this->quiet) {
            return false;
        }

        if ($flags & IO::VERBOSE) {
            return $this->verbosity >= IO::VERBOSE;
        }

        if ($flags & IO::VERY_VERBOSE) {
            return $this->verbosity >= IO::VERY_VERBOSE;
        }

        if ($flags & IO::DEBUG) {
            return $this->verbosity >= IO::DEBUG;
        }

        return true;
    }
protected function mayWrite($flags)
    {
        if ($this->quiet) {
            return false;
        }

        if ($flags & IO::VERBOSE) {
            return $this->verbosity >= IO::VERBOSE;
        }

        if ($flags & IO::VERY_VERBOSE) {
            return $this->verbosity >= IO::VERY_VERBOSE;
        }

        if ($flags & IO::DEBUG) {
            return $this->verbosity >= IO::DEBUG;
        }

        return true;
    }
protected function mayWrite ( $ flags ) { if ( $ this -> quiet ) { return false ; } if ( $ flags & IO :: VERBOSE ) { return $ this -> verbosity >= IO :: VERBOSE ; } if ( $ flags & IO :: VERY_VERBOSE ) { return $ this -> verbosity >= IO :: VERY_VERBOSE ; } if ( $ flags & IO :: DEBUG ) { return $ this -> verbosity >= IO :: DEBUG ; } return true ; }
Returns whether an output may be written for the given flags.

@param int $flags The flags.

@return bool Returns `true` if the output may be written and `false`
otherwise.
Returns whether an output may be written for the given flags .