Completed
Pull Request — master (#76)
by Luke
02:26
created

IsImmutable::isReadOnly()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
ccs 0
cts 2
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * Nozavroni/Collections.
4
 *
5
 * Just another collections library for PHP5.6+.
6
 *
7
 * @version   {version}
8
 * @copyright Copyright (c) 2016 Luke Visinoni <[email protected]>
9
 * @author    Luke Visinoni <[email protected]>
10
 * @license   https://github.com/deni-zen/csvelte/blob/master/LICENSE The MIT License (MIT)
11
 */
12
namespace Noz\Traits;
13
14
trait IsImmutable
15
{
16
    protected $mutable = false;
17
18
    public function isReadOnly()
19
    {
20
        return $this->mutable;
21
    }
22
}
23