NullAdapter::send()   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
declare(strict_types=1);
4
5
namespace Linio\Component\Mail\Adapter;
6
7
use Linio\Component\Mail\AdapterInterface;
8
use Linio\Component\Mail\Message;
9
10
class NullAdapter implements AdapterInterface
11
{
12
    public function __construct(array $config = [])
13
    {
14
    }
15
16
    public function send(Message $message)
17
    {
18
        return true;
19
    }
20
}
21