AbstractAttachment::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 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