@@ -85,12 +85,18 @@ discard block |
||
| 85 | 85 | } |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | + /** |
|
| 89 | + * @param string $name |
|
| 90 | + */ |
|
| 88 | 91 | public function method($name) |
| 89 | 92 | { |
| 90 | 93 | // https://df.home/zamm/api/class-Maslosoft.Zamm.Decorators.AbstractDecorator.html#_decorate |
| 91 | 94 | return sprintf('%s/class-%s.html#_%s', $this->resolveSource($this->resolveMethodClass($name)), $this->dotName, $name); |
| 92 | 95 | } |
| 93 | 96 | |
| 97 | + /** |
|
| 98 | + * @param string $name |
|
| 99 | + */ |
|
| 94 | 100 | public function property($name) |
| 95 | 101 | { |
| 96 | 102 | // https://df.home/zamm/api/class-Maslosoft.Zamm.Zamm.html#$decorators |
@@ -127,6 +133,9 @@ discard block |
||
| 127 | 133 | return $this->className; |
| 128 | 134 | } |
| 129 | 135 | |
| 136 | + /** |
|
| 137 | + * @param string $className |
|
| 138 | + */ |
|
| 130 | 139 | private function resolveSource($className) |
| 131 | 140 | { |
| 132 | 141 | // Many sources found, search for proper api source |