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

AStringBuilder::wordwrap()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 2
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