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

SimpleXmlElementMock   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 9
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __get() 0 3 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