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

ImmutableCollectionMutateException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 2
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