100% of 26OPs |
100% of 2Lines |
100% of 2Branches |
100% of 2Paths |
Method | OPs | OPs % | Lines | Line % | Branches | Branches % | Paths | Path % |
---|---|---|---|---|---|---|---|---|
mageekguy\atoum\adapter::__call() | 13 | 100% | 1 | 100% | 1 | 100% | 1 | 100% |
mageekguy\atoum\adapter::invoke() | 13 | 100% | 1 | 100% | 1 | 100% | 1 | 100% |
# | |
---|---|
1 |
<?php |
2 |
|
3 |
namespace mageekguy\atoum; |
4 |
|
5 |
use |
6 |
mageekguy\atoum\exceptions |
7 |
; |
8 |
|
9 |
class adapter implements adapter\definition |
10 |
{ |
11 |
public function __call($functionName, $arguments)100% |
12 |
{ |
13 |
return $this->invoke($functionName, $arguments); |
14 |
} |
15 |
|
16 |
public function invoke($functionName, array $arguments = array())100% |
17 |
{ |
18 |
return call_user_func_array($functionName, $arguments); |
19 |
} |
20 |
} |