Completed
Push — master ( fa6370...25cc22 )
by Eric
06:29
created

ImmutableCollectionMutateException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 13
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace Oqq\Minc\Common\Collection\Exception;
4
5
use Oqq\Minc\Common\Exception\MincException;
6
7
/**
8
 * @author Eric Braun <[email protected]>
9
 */
10
class ImmutableCollectionMutateException extends \RuntimeException implements MincException
11
{
12
    const DEFAULT_MESSAGE = 'Try to mutate an immutable collection';
13
14
    /**
15
     * @param string $message
16
     * @param array  ...$parameters
17
     */
18
    public function __construct($message = self::DEFAULT_MESSAGE, ...$parameters)
19
    {
20
        parent::__construct($message, ...$parameters);
21
    }
22
}
23