Total Complexity | 4 |
Total Lines | 71 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
4 | trait HelperTrait |
||
1 ignored issue
–
show
|
|||
5 | { |
||
6 | public function halt($msg) |
||
1 ignored issue
–
show
|
|||
7 | { |
||
8 | $body = $this->container->responseobj->getBody(); |
||
1 ignored issue
–
show
|
|||
9 | $body->write($msg); |
||
10 | throw new \Slim\Exception\SlimException($this->container->requestobj, $this->container->responseobj); |
||
11 | } |
||
12 | |||
13 | /** |
||
14 | * Receives N parameters and sends them to the console adding where was it called from |
||
15 | * @return [type] [description] |
||
1 ignored issue
–
show
|
|||
16 | */ |
||
17 | public function prtrace() |
||
48 | } |
||
49 | |||
50 | public static function statictrace() |
||
65 | } |
||
66 | |||
67 | /** |
||
68 | * Returns a string with html <br> variant replaced with a new line |
||
69 | * @param string $msg [description] |
||
1 ignored issue
–
show
|
|||
70 | * @return string [description] |
||
71 | */ |
||
72 | public static function br2ln(string $msg) |
||
77 |