src/Whoops/Handler/PlainTextHandler.php
public function onlyForCommandLine($onlyForCommandLine = null)
    {
        if (func_num_args() == 0) {
            return $this->onlyForCommandLine;
        }
        $this->onlyForCommandLine = (bool) $onlyForCommandLine;
    }
public function onlyForCommandLine($onlyForCommandLine = null)
    {
        if (func_num_args() == 0) {
            return $this->onlyForCommandLine;
        }
        $this->onlyForCommandLine = (bool) $onlyForCommandLine;
    }
public function onlyForCommandLine ( $ onlyForCommandLine = null ) { if ( func_num_args ( ) == 0 ) { return $ this -> onlyForCommandLine ; } $ this -> onlyForCommandLine = ( bool ) $ onlyForCommandLine ; }
Restrict error handling to command line calls.
@param  bool|null $onlyForCommandLine
@return null|bool
Restrict error handling to command line calls .