- Timestamp:
- 01/12/08 18:37:26 (10 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/reflection/stubReflectionParameter.php
r1127 r1227 7 7 * @subpackage reflection 8 8 */ 9 stubClassLoader::load('net .stubbles.reflection.annotations.stubAnnotatable',10 'net .stubbles.reflection.annotations.stubAnnotationFactory',11 'net .stubbles.reflection.stubReflectionFunction',12 'net .stubbles.reflection.stubReflectionClass'9 stubClassLoader::load('net::stubbles::reflection::annotations::stubAnnotatable', 10 'net::stubbles::reflection::annotations::stubAnnotationFactory', 11 'net::stubbles::reflection::stubReflectionFunction', 12 'net::stubbles::reflection::stubReflectionClass' 13 13 ); 14 14 /** … … 137 137 * The result is a short but informative representation about the class and 138 138 * its values. Per default, this method returns: 139 * 'net .stubbles.reflection.stubReflectionParameter['[name-of-reflected-class]'::'[name-of-reflected-function]'(): Argument '[name-of-reflected-argument]'] {}'139 * 'net::stubbles::reflection::stubReflectionParameter['[name-of-reflected-class]'::'[name-of-reflected-function]'(): Argument '[name-of-reflected-argument]'] {}' 140 140 * <code> 141 * net .stubbles.reflection.stubReflectionParameter[MyClass::myMethod(): Argument foo] {141 * net::stubbles::reflection::stubReflectionParameter[MyClass::myMethod(): Argument foo] { 142 142 * } 143 * net .stubbles.reflection.stubReflectionParameter[myFunction(): Argument bar] {143 * net::stubbles::reflection::stubReflectionParameter[myFunction(): Argument bar] { 144 144 * } 145 145 * </code> … … 150 150 { 151 151 if (is_array($this->routineName) == false) { 152 return 'net .stubbles.reflection.stubReflectionParameter[' . $this->routineName . '(): Argument ' . $this->paramName . "] {\n}\n";153 } 154 155 return 'net .stubbles.reflection.stubReflectionParameter[' . $this->routineName[0] . '::' . $this->routineName[1] . '(): Argument ' . $this->paramName . "] {\n}\n";152 return 'net::stubbles::reflection::stubReflectionParameter[' . $this->routineName . '(): Argument ' . $this->paramName . "] {\n}\n"; 153 } 154 155 return 'net::stubbles::reflection::stubReflectionParameter[' . $this->routineName[0] . '::' . $this->routineName[1] . '(): Argument ' . $this->paramName . "] {\n}\n"; 156 156 } 157 157
