NullMessageStrategy   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 1
cbo 2
dl 0
loc 8
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A execute() 0 5 1
1
<?php
2
namespace AramisAuto\EmailController\MessageStrategy;
3
4
use AramisAuto\EmailController\Event\MessageEvent;
5
6
class NullMessageStrategy extends AbstractMessageStrategy
7
{
8
    public function execute()
9
    {
10
        $event = new MessageEvent($this->getMessage());
11
        $this->getEventDispatcher()->dispatch($this->success(), $event);
12
    }
13
}
14