@@ -8,17 +8,17 @@ |
||
8 | 8 | |
9 | 9 | class DynamicMethodsClassReflectionExtension implements MethodsClassReflectionExtension |
10 | 10 | { |
11 | - public function hasMethod(ClassReflection $classReflection, string $methodName): bool |
|
12 | - { |
|
13 | - if (!$classReflection->is('Prado\TComponent')) { |
|
14 | - return false; |
|
15 | - } |
|
11 | + public function hasMethod(ClassReflection $classReflection, string $methodName): bool |
|
12 | + { |
|
13 | + if (!$classReflection->is('Prado\TComponent')) { |
|
14 | + return false; |
|
15 | + } |
|
16 | 16 | |
17 | - return strncasecmp($methodName, 'dy', 2) === 0 || strncasecmp($methodName, 'fx', 2) === 0; |
|
18 | - } |
|
17 | + return strncasecmp($methodName, 'dy', 2) === 0 || strncasecmp($methodName, 'fx', 2) === 0; |
|
18 | + } |
|
19 | 19 | |
20 | - public function getMethod(ClassReflection $classReflection, string $methodName): MethodReflection |
|
21 | - { |
|
22 | - return new DynamicMethodReflection($classReflection, $methodName); |
|
23 | - } |
|
20 | + public function getMethod(ClassReflection $classReflection, string $methodName): MethodReflection |
|
21 | + { |
|
22 | + return new DynamicMethodReflection($classReflection, $methodName); |
|
23 | + } |
|
24 | 24 | } |