Command::logInfo()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 4
rs 10
1
<?php
2
3
namespace App\Console\Commands;
4
5
abstract class Command extends \Illuminate\Console\Command
6
{
7
    protected function logInfo($msg)
8
    {
9
        $this->info($msg);
10
        \Log::info($msg);
11
    }
12
13
    protected function logError($msg)
14
    {
15
        $this->error($msg);
16
        \Log::error($msg);
17
    }
18
}
19