root/components/codeInstrumentation/CodeInstrumentationFunction.class.php
| 59 | 86 | ||
|---|---|---|---|
1 | <?php | 1 | <?php |
2 | /** | 2 | /** |
3 | * CodeInstrumentationFunction create the changed code version | ||
4 | * of the function | ||
5 | * @package CodeInstrumentation | ||
6 | * | ||
7 | */ | ||
8 | |||
9 | /** | ||
3 | * Implement a code instrumentation into a function | 10 | * Implement a code instrumentation into a function |
4 | * | 11 | * |
5 | * Make a call to some function what was apply the code | 12 | * Make a call to some function what was apply the code |
... | ... | ||
12 | * be resposable by the functions as its methods | 19 | * be resposable by the functions as its methods |
13 | * | 20 | * |
14 | * @author Thiago Henrique Ramos da Mata <thiago.henrique.mata@gmail.com> | 21 | * @author Thiago Henrique Ramos da Mata <thiago.henrique.mata@gmail.com> |
15 | * @package CodeInstrumentation | ||
16 | */ | 22 | */ |
17 | class CodeInstrumentationFunction extends CodeReflectionFunction | 23 | class CodeInstrumentationFunction extends CodeReflectionFunction |
18 | { | 24 | { |
... | ... | ||
29 | return new CodeInstrumentationParameter( $this->getDeclaringClass()->getName() , $this->getName() , $objReflectionParameter->getName() ); | 35 | return new CodeInstrumentationParameter( $this->getDeclaringClass()->getName() , $this->getName() , $objReflectionParameter->getName() ); |
30 | } | 36 | } |
31 | 37 | ||
32 | } | 38 | } |
33 | ?> |
Download diff