Completed
Push — master ( 3473e4...1b0f71 )
by Garrett
11:38
created

AStringBuilder   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A replaceWhole() 0 6 1
1
<?php
2
3
namespace StringObject;
4
5
class AStringBuilder extends AString
6
{
7
    public function replaceWhole($replacement = '')
8
    {
9
        self::testStringableObject($replacement);
10
        $this->raw = (string) $replacement;
11
        return $this;
12
    }
13
}
14