mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-17 13:53:45 +02:00
Update doc blocks for all app/
This commit is contained in:
@@ -28,20 +28,19 @@ use Log;
|
||||
|
||||
class DisplayException extends \Exception
|
||||
{
|
||||
private $_logging = null;
|
||||
|
||||
/**
|
||||
* Exception constructor.
|
||||
*
|
||||
* @param string $message
|
||||
* @param mixed $log
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($message, $log = null)
|
||||
{
|
||||
$this->_logging = $log;
|
||||
if ($this->_logging !== null) {
|
||||
if (! is_null($log)) {
|
||||
Log::error($log);
|
||||
}
|
||||
|
||||
parent::__construct($message);
|
||||
}
|
||||
|
||||
public function getLogging()
|
||||
{
|
||||
return $this->_logging;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user