@@ -154,6 +154,9 @@ discard block |
||
| 154 | 154 | */ |
| 155 | 155 | private $_di = null; |
| 156 | 156 | |
| 157 | + /** |
|
| 158 | + * @param string $className |
|
| 159 | + */ |
|
| 157 | 160 | public function __construct($className = null) |
| 158 | 161 | { |
| 159 | 162 | $this->_className = $className; |
@@ -223,7 +226,7 @@ discard block |
||
| 223 | 226 | |
| 224 | 227 | /** |
| 225 | 228 | * |
| 226 | - * @return ClassRenderer |
|
| 229 | + * @return string |
|
| 227 | 230 | */ |
| 228 | 231 | public function __toString() |
| 229 | 232 | { |
@@ -1,8 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -use Maslosoft\Ilmatar\Widgets\Form\ActiveForm; |
|
| 4 | -use Maslosoft\Ilmatar\Components\Controller; |
|
| 5 | -use Faker\Factory as FF; |
|
| 6 | 3 | use Maslosoft\Zamm\Capture; |
| 7 | 4 | use Maslosoft\Zamm\Namer; |
| 8 | 5 | ?> |
@@ -1,7 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -use Maslosoft\Ilmatar\Components\Controller; |
|
| 4 | -use Maslosoft\Ilmatar\Widgets\Form\ActiveForm; |
|
| 5 | 3 | use Maslosoft\Zamm\Capture; |
| 6 | 4 | use Maslosoft\Zamm\Helpers\Wrapper; |
| 7 | 5 | use Maslosoft\Zamm\Namer; |
@@ -1,7 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -use Maslosoft\Ilmatar\Components\Controller; |
|
| 4 | -use Maslosoft\Ilmatar\Widgets\Form\ActiveForm; |
|
| 5 | 3 | use Maslosoft\Zamm\Capture; |
| 6 | 4 | use Maslosoft\Zamm\Helpers\Wrapper; |
| 7 | 5 | use Maslosoft\Zamm\Namer; |
@@ -103,12 +103,18 @@ |
||
| 103 | 103 | } |
| 104 | 104 | } |
| 105 | 105 | |
| 106 | + /** |
|
| 107 | + * @param string $name |
|
| 108 | + */ |
|
| 106 | 109 | public function method($name) |
| 107 | 110 | { |
| 108 | 111 | // https://df.home/zamm/api/class-Maslosoft.Zamm.Decorators.AbstractDecorator.html#_decorate |
| 109 | 112 | return sprintf('%s/class-%s.html#_%s', $this->source, $this->dotName, $name); |
| 110 | 113 | } |
| 111 | 114 | |
| 115 | + /** |
|
| 116 | + * @param string $name |
|
| 117 | + */ |
|
| 112 | 118 | public function property($name) |
| 113 | 119 | { |
| 114 | 120 | // https://df.home/zamm/api/class-Maslosoft.Zamm.Zamm.html#$decorators |
@@ -113,6 +113,9 @@ |
||
| 113 | 113 | return $text; |
| 114 | 114 | } |
| 115 | 115 | |
| 116 | + /** |
|
| 117 | + * @param string $flag |
|
| 118 | + */ |
|
| 116 | 119 | private function setFlag($flag, $value = true) |
| 117 | 120 | { |
| 118 | 121 | $this->$flag = $value; |