Lines 0.00% 0 / 4
Methods 0.00% 0 / 4
Classes 0.00% 0 / 1
Name Lines Methods CRAP
 __construct 0.00% 0 / 1 0.00% 0 / 1 2
 getTemplate 0.00% 0 / 1 0.00% 0 / 1 2
 getTemplates 0.00% 0 / 1 0.00% 0 / 1 2
 setTemplates 0.00% 0 / 1 0.00% 0 / 1 2
5class MailTemplateArrayProvider
6{
7    protected $templates = array();
8
9    public function __construct()
10    {
11    }
12
13    /** @psalm-api */
14    public function getTemplate($templateName)
15    {
16        return $this->templates[$templateName];
17    }
18
19    /** @psalm-api */
20    public function getTemplates()
21    {
22        return $this->templates;
23    }
24
25    public function setTemplates(array $templates): void
26    {
27        $this->templates = $templates;
28    }
29}