guild/common/classes/Debug.php

20 lines
451 B
PHP
Raw Normal View History

2018-10-11 11:15:09 +03:00
<?php
namespace common\classes;
class Debug
{
public static function prn($content)
{
echo '<pre style="background: lightgray; border: 1px solid black; padding: 2px">';
print_r($content);
echo '</pre>';
}
public static function dd($content)
{
echo '<pre style="background: lightgray; border: 1px solid black; padding: 2px">';
print_r($content);
echo '</pre>';
die();
}
}