public function setVerbosity($verbosity)
    {
        Assert::oneOf($verbosity, array(IO::NORMAL, IO::VERBOSE, IO::VERY_VERBOSE, IO::DEBUG), 'The verbosity must be one of IO::NORMAL, IO::VERBOSE, IO::VERY_VERBOSE and IO::DEBUG.');

        $this->verbosity = (int) $verbosity;
    }
public function setVerbosity($verbosity)
    {
        Assert::oneOf($verbosity, array(IO::NORMAL, IO::VERBOSE, IO::VERY_VERBOSE, IO::DEBUG), 'The verbosity must be one of IO::NORMAL, IO::VERBOSE, IO::VERY_VERBOSE and IO::DEBUG.');

        $this->verbosity = (int) $verbosity;
    }
public function setVerbosity ( $ verbosity ) { Assert :: oneOf ( $ verbosity , array ( IO :: NORMAL , IO :: VERBOSE , IO :: VERY_VERBOSE , IO :: DEBUG ) , 'The verbosity must be one of IO::NORMAL, IO::VERBOSE, IO::VERY_VERBOSE and IO::DEBUG.' ) ; $ this -> verbosity = ( int ) $ verbosity ; }
Sets the verbosity level of the output.

@param int $verbosity One of the constants {@link NORMAL}, {@link VERBOSE},
{@link VERY_VERBOSE} or {@link DEBUG}. Only output
with the given verbosity level or smaller will be
written out.
Sets the verbosity level of the output .