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

IsImmutable   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 9
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A isReadOnly() 0 4 1
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