src/Whoops/Handler/PlainTextHandler.php
public function outputOnlyIfCommandLine($outputOnlyIfCommandLine = null)
    {
        if (func_num_args() == 0) {
            return $this->outputOnlyIfCommandLine;
        }
        $this->outputOnlyIfCommandLine = (bool) $outputOnlyIfCommandLine;
    }
public function outputOnlyIfCommandLine($outputOnlyIfCommandLine = null)
    {
        if (func_num_args() == 0) {
            return $this->outputOnlyIfCommandLine;
        }
        $this->outputOnlyIfCommandLine = (bool) $outputOnlyIfCommandLine;
    }
public function outputOnlyIfCommandLine ( $ outputOnlyIfCommandLine = null ) { if ( func_num_args ( ) == 0 ) { return $ this -> outputOnlyIfCommandLine ; } $ this -> outputOnlyIfCommandLine = ( bool ) $ outputOnlyIfCommandLine ; }
Output the error message only if using command line.
else, output to logger if available.
Allow to safely add this handler to web pages.
@param  bool|null $outputOnlyIfCommandLine
@return null|bool
Output the error message only if using command line . else output to logger if available . Allow to safely add this handler to web pages .