Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
37 | public function readCallee($contextClass, ReflectionMethod $method, $docLine, $description) |
||
38 | { |
||
39 | if (!preg_match(self::$regex, $docLine, $match)) { |
||
40 | return null; |
||
41 | } |
||
42 | |||
43 | $pattern = $match[1]; |
||
44 | $callable = array($contextClass, $method->getName()); |
||
|
|||
45 | |||
46 | return new RuntimeTokensReplacement($pattern, $callable, $description); |
||
47 | } |
||
48 | } |
||
49 |