AbstractAttachment   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace SfCod\EmailEngineBundle\Template\Attachments;
4
5
use SfCod\EmailEngineBundle\Template\TemplateOptionsInterface;
6
7
/**
8
 * Class AbstractAttachment
9
 *
10
 * @author Virchenko Maksim <[email protected]>
11
 *
12
 * @package SfCod\EmailEngineBundle\Template\Attachments
13
 */
14
abstract class AbstractAttachment implements AttachmentInterface
15
{
16
    /**
17
     * @var TemplateOptionsInterface
18
     */
19
    protected $options;
20
21
    /**
22
     * AttachmentInterface constructor.
23
     *
24
     * @param TemplateOptionsInterface $options
25
     */
26
    public function __construct(TemplateOptionsInterface $options)
27
    {
28
        $this->options = $options;
29
    }
30
}
31