Completed
Push — master ( fd3130...73fb6b )
by John
02:31
created

SimpleXmlElementMock::__get()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 1
1
<?php
2
3
namespace Graze\CiffRenderer\Test;
4
5
use Graze\CiffRenderer\Parser\SimpleXmlElementInterface;
6
7
class SimpleXmlElementMock implements SimpleXmlElementInterface
8
{
9
    /**
10
     * Emulate \SimpleXmlElement's object access and method chaining
11
     * @param string $name
12
     */
13
    public function __get($name)
14
    {
15
        return $this;
16
    }
17
}
18