AbstractSender   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A setOptions() 0 4 1
1
<?php
2
3
namespace SfCod\EmailEngineBundle\Sender;
4
5
/**
6
 * Class AbstractSender
7
 *
8
 * @author Virchenko Maksim <[email protected]>
9
 *
10
 * @package SfCod\EmailEngineBundle\Sender
11
 */
12
abstract class AbstractSender implements SenderInterface
13
{
14
    /**
15
     * @var MessageOptionsInterface|null
16
     */
17
    protected $options;
18
19
    /**
20
     * @param MessageOptionsInterface $options
21
     */
22
    public function setOptions(MessageOptionsInterface $options)
23
    {
24
        $this->options = $options;
25
    }
26
}
27