Completed
Push — master ( b52e47...12db46 )
by
unknown
40:12
created

AbstractSender   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 17
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
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
6
use Symfony\Component\DependencyInjection\ContainerAwareTrait;
7
8
/**
9
 * Class AbstractSender
10
 *
11
 * @author Virchenko Maksim <[email protected]>
12
 *
13
 * @package SfCod\EmailEngineBundle\Sender
14
 */
15
abstract class AbstractSender implements SenderInterface, ContainerAwareInterface
16
{
17
    use ContainerAwareTrait;
18
19
    /**
20
     * @var MessageOptionsInterface|null
21
     */
22
    protected $options;
23
24
    /**
25
     * @param MessageOptionsInterface $options
26
     */
27
    public function setOptions(MessageOptionsInterface $options)
28
    {
29
        $this->options = $options;
30
    }
31
}
32