Changeset 253
- Timestamp:
- 02/10/07 16:48:11 (2 years ago)
- Files:
-
- trunk/src/main/php/net/stubbles/reflection/stubReflectionClass.php (modified) (2 diffs)
- trunk/src/main/php/net/stubbles/reflection/stubReflectionExtension.php (modified) (2 diffs)
- trunk/src/main/php/net/stubbles/reflection/stubReflectionFunction.php (modified) (2 diffs)
- trunk/src/main/php/net/stubbles/reflection/stubReflectionMethod.php (modified) (2 diffs)
- trunk/src/main/php/net/stubbles/reflection/stubReflectionObject.php (modified) (2 diffs)
- trunk/src/main/php/net/stubbles/reflection/stubReflectionParameter.php (modified) (2 diffs)
- trunk/src/main/php/net/stubbles/reflection/stubReflectionProperty.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/reflection/stubReflectionClass.php
r252 r253 90 90 * The result is a short but informative representation about the class and 91 91 * its values. Per default, this method returns: 92 * ' stubReflectionClass['[name-of-reflected-class]'] {}'92 * 'net.stubbles.reflection.stubReflectionClass['[name-of-reflected-class]'] {}' 93 93 * <code> 94 * stubReflectionClass[MyClass] {94 * net.stubbles.reflection.stubReflectionClass[MyClass] { 95 95 * } 96 96 * </code> … … 100 100 public function __toString() 101 101 { 102 return ' reflection.stubReflectionClass[' . $this->className . "] {\n}\n";102 return 'net.stubbles.reflection.stubReflectionClass[' . $this->className . "] {\n}\n"; 103 103 } 104 104 trunk/src/main/php/net/stubbles/reflection/stubReflectionExtension.php
r97 r253 56 56 * The result is a short but informative representation about the class and 57 57 * its values. Per default, this method returns: 58 * ' stubReflectionExtension['[name-of-reflected-extension]'] {}'58 * 'net.stubbles.reflection.stubReflectionExtension['[name-of-reflected-extension]'] {}' 59 59 * <code> 60 * stubReflectionExtension[spl] {60 * net.stubbles.reflection.stubReflectionExtension[spl] { 61 61 * } 62 62 * </code> … … 66 66 public function __toString() 67 67 { 68 return ' reflection.stubReflectionExtension[' . $this->extensionName . "] {\n}\n";68 return 'net.stubbles.reflection.stubReflectionExtension[' . $this->extensionName . "] {\n}\n"; 69 69 } 70 70 trunk/src/main/php/net/stubbles/reflection/stubReflectionFunction.php
r97 r253 87 87 * The result is a short but informative representation about the class and 88 88 * its values. Per default, this method returns: 89 * ' stubReflectionFunction['[name-of-reflected-function]'()] {}'89 * 'net.stubbles.reflection.stubReflectionFunction['[name-of-reflected-function]'()] {}' 90 90 * <code> 91 * stubReflectionFunction[fopen()] {91 * net.stubbles.reflection.stubReflectionFunction[fopen()] { 92 92 * } 93 93 * </code> … … 97 97 public function __toString() 98 98 { 99 return ' reflection.stubReflectionFunction[' . $this->functionName . "()] {\n}\n";99 return 'net.stubbles.reflection.stubReflectionFunction[' . $this->functionName . "()] {\n}\n"; 100 100 } 101 101 trunk/src/main/php/net/stubbles/reflection/stubReflectionMethod.php
r97 r253 96 96 * The result is a short but informative representation about the class and 97 97 * its values. Per default, this method returns: 98 * ' stubReflectionMethod['[name-of-reflected-class]'::'[name-of-reflected-method]'()] {}'98 * 'net.stubbles.reflection.stubReflectionMethod['[name-of-reflected-class]'::'[name-of-reflected-method]'()] {}' 99 99 * <code> 100 * stubReflectionMethod[MyClass::myMethod()] {100 * net.stubbles.reflection.stubReflectionMethod[MyClass::myMethod()] { 101 101 * } 102 102 * </code> … … 106 106 public function __toString() 107 107 { 108 return ' reflection.stubReflectionMethod[' . $this->className . '::' . $this->methodName . "()] {\n}\n";108 return 'net.stubbles.reflection.stubReflectionMethod[' . $this->className . '::' . $this->methodName . "()] {\n}\n"; 109 109 } 110 110 trunk/src/main/php/net/stubbles/reflection/stubReflectionObject.php
r252 r253 110 110 * The result is a short but informative representation about the class and 111 111 * its values. Per default, this method returns: 112 * ' stubReflectionObject['[name-of-reflected-class]'] {}'112 * 'net.stubbles.reflection.stubReflectionObject['[name-of-reflected-class]'] {}' 113 113 * <code> 114 * stubReflectionObject[MyClass] {114 * net.stubbles.reflection.stubReflectionObject[MyClass] { 115 115 * } 116 116 * </code> … … 120 120 public function __toString() 121 121 { 122 return ' reflection.stubReflectionObject[' . $this->className . "] {\n}\n";122 return 'net.stubbles.reflection.stubReflectionObject[' . $this->className . "] {\n}\n"; 123 123 } 124 124 trunk/src/main/php/net/stubbles/reflection/stubReflectionParameter.php
r97 r253 74 74 * The result is a short but informative representation about the class and 75 75 * its values. Per default, this method returns: 76 * ' stubReflectionParameter['[name-of-reflected-class]'::'[name-of-reflected-function]'(): Argument '[name-of-reflected-argument]'] {}'76 * 'net.stubbles.reflection.stubReflectionParameter['[name-of-reflected-class]'::'[name-of-reflected-function]'(): Argument '[name-of-reflected-argument]'] {}' 77 77 * <code> 78 * stubReflectionParameter[MyClass::myMethod(): Argument foo] {78 * net.stubbles.reflection.stubReflectionParameter[MyClass::myMethod(): Argument foo] { 79 79 * } 80 * stubReflectionParameter[myFunction(): Argument bar] {80 * net.stubbles.reflection.stubReflectionParameter[myFunction(): Argument bar] { 81 81 * } 82 82 * </code> … … 88 88 $class = $this->getDeclaringClass(); 89 89 if (null == $class) { 90 return ' reflection.stubReflectionParameter[' . $this->functionName . '(): Argument ' . $this->paramName . "] {\n}\n";90 return 'net.stubbles.reflection.stubReflectionParameter[' . $this->functionName . '(): Argument ' . $this->paramName . "] {\n}\n"; 91 91 } 92 92 93 return ' reflection.stubReflectionParameter[' . $class->getName() . '::' . $this->functionName . '(): Argument ' . $this->paramName . "] {\n}\n";93 return 'net.stubbles.reflection.stubReflectionParameter[' . $class->getName() . '::' . $this->functionName . '(): Argument ' . $this->paramName . "] {\n}\n"; 94 94 } 95 95 trunk/src/main/php/net/stubbles/reflection/stubReflectionProperty.php
r97 r253 97 97 * The result is a short but informative representation about the class and 98 98 * its values. Per default, this method returns: 99 * ' stubReflectionProperty['[name-of-reflected-class]'::'[name-of-reflected-property]'] {}'99 * 'net.stubbles.reflection.stubReflectionProperty['[name-of-reflected-class]'::'[name-of-reflected-property]'] {}' 100 100 * <code> 101 * stubReflectionProperty[MyClass::myProperty] {101 * net.stubbles.reflection.stubReflectionProperty[MyClass::myProperty] { 102 102 * } 103 103 * </code> … … 107 107 public function __toString() 108 108 { 109 return ' reflection.stubReflectionProperty[' . $this->className . '::' . $this->propertyName . "] {\n}\n";109 return 'net.stubbles.reflection.stubReflectionProperty[' . $this->className . '::' . $this->propertyName . "] {\n}\n"; 110 110 } 111 111
