Completed
Push — master ( 41e5ad...f2b4de )
by Alexandre
02:39
created

Twilio::notifyOwner()   A

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
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
namespace AppBundle\Service\Dev;
4
5
use AppBundle\Service\Twilio as BaseTwilio;
6
use Psr\Log\LoggerInterface;
7
8
class Twilio extends BaseTwilio
9
{
10
    private $logger;
0 ignored issues
show
Comprehensibility introduced by
Consider using a different property name as you override a private property of the parent class.
Loading history...
11
12
    public function __construct(LoggerInterface $logger)
13
    {
14
        $this->logger = $logger;
15
    }
16
17
    public function notifyOwner($message)
18
    {
19
        $this->logger->info('SMS - Notified owner with content: '.$message);
20
    }
21
}
22