MessageMoveException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 1
c 2
b 0
f 0
lcom 0
cbo 1
dl 0
loc 13
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 10 1
1
<?php
2
3
namespace Ddeboer\Imap\Exception;
4
5
class MessageMoveException extends Exception
6
{
7
    public function __construct($messageNumber, $mailbox)
8
    {
9
        parent::__construct(
10
            sprintf(
11
                'Message %s cannot be moved to %s',
12
                $messageNumber,
13
                $mailbox
14
            )
15
        );
16
    }
17
}
18