@@ -293,6 +293,9 @@ |
||
293 | 293 | } |
294 | 294 | |
295 | 295 | |
296 | + /** |
|
297 | + * @param string $method |
|
298 | + */ |
|
296 | 299 | public function getClientMock( $method ) |
297 | 300 | { |
298 | 301 | $object = $this->getMockBuilder( \Aimeos\Admin\JQAdm\Locale\Site\Standard::class ) |
@@ -305,6 +305,9 @@ |
||
305 | 305 | } |
306 | 306 | |
307 | 307 | |
308 | + /** |
|
309 | + * @param string $method |
|
310 | + */ |
|
308 | 311 | public function getClientMock( $method ) |
309 | 312 | { |
310 | 313 | $object = $this->getMockBuilder( \Aimeos\Admin\JQAdm\Order\Standard::class ) |
@@ -294,6 +294,9 @@ |
||
294 | 294 | } |
295 | 295 | |
296 | 296 | |
297 | + /** |
|
298 | + * @param string $method |
|
299 | + */ |
|
297 | 300 | public function getClientMock( $method ) |
298 | 301 | { |
299 | 302 | $object = $this->getMockBuilder( \Aimeos\Admin\JQAdm\Plugin\Standard::class ) |
@@ -321,6 +321,9 @@ |
||
321 | 321 | } |
322 | 322 | |
323 | 323 | |
324 | + /** |
|
325 | + * @param string $method |
|
326 | + */ |
|
324 | 327 | public function getClientMock( $method ) |
325 | 328 | { |
326 | 329 | $object = $this->getMockBuilder( \Aimeos\Admin\JQAdm\Product\Standard::class ) |
@@ -303,6 +303,9 @@ |
||
303 | 303 | } |
304 | 304 | |
305 | 305 | |
306 | + /** |
|
307 | + * @param string $method |
|
308 | + */ |
|
306 | 309 | public function getClientMock( $method ) |
307 | 310 | { |
308 | 311 | $object = $this->getMockBuilder( \Aimeos\Admin\JQAdm\Service\Standard::class ) |
@@ -293,6 +293,9 @@ |
||
293 | 293 | } |
294 | 294 | |
295 | 295 | |
296 | + /** |
|
297 | + * @param string $method |
|
298 | + */ |
|
296 | 299 | public function getClientMock( $method ) |
297 | 300 | { |
298 | 301 | $object = $this->getMockBuilder( \Aimeos\Admin\JQAdm\Subscription\Standard::class ) |
@@ -290,6 +290,9 @@ |
||
290 | 290 | } |
291 | 291 | |
292 | 292 | |
293 | + /** |
|
294 | + * @param string $method |
|
295 | + */ |
|
293 | 296 | public function getClientMock( $method ) |
294 | 297 | { |
295 | 298 | $object = $this->getMockBuilder( \Aimeos\Admin\JQAdm\Supplier\Standard::class ) |
@@ -280,6 +280,9 @@ discard block |
||
280 | 280 | } |
281 | 281 | |
282 | 282 | |
283 | + /** |
|
284 | + * @param string $method |
|
285 | + */ |
|
283 | 286 | public function getClientMock( $method ) |
284 | 287 | { |
285 | 288 | $object = $this->getMockBuilder( \Aimeos\Admin\JQAdm\Locale\Standard::class ) |
@@ -312,6 +315,10 @@ discard block |
||
312 | 315 | } |
313 | 316 | |
314 | 317 | |
318 | + /** |
|
319 | + * @param string $langid |
|
320 | + * @param string $currid |
|
321 | + */ |
|
315 | 322 | protected function getItem( $langid = null, $currid = null ) |
316 | 323 | { |
317 | 324 | $manager = \Aimeos\MShop::create( $this->context, 'locale' ); |
@@ -126,12 +126,19 @@ |
||
126 | 126 | return self::addDecorators( $context, $client, $decorators, $classprefix ); |
127 | 127 | } |
128 | 128 | |
129 | + /** |
|
130 | + * @param string $path |
|
131 | + */ |
|
129 | 132 | public static function addClientDecoratorsPublic( \Aimeos\MShop\Context\Item\Iface $context, |
130 | 133 | \Aimeos\Admin\JQAdm\Iface $client, $path ) |
131 | 134 | { |
132 | 135 | return self::addClientDecorators( $context, $client, $path ); |
133 | 136 | } |
134 | 137 | |
138 | + /** |
|
139 | + * @param string $classname |
|
140 | + * @param string $interface |
|
141 | + */ |
|
135 | 142 | public static function createAdminPublic( \Aimeos\MShop\Context\Item\Iface $context, |
136 | 143 | $classname, $interface ) |
137 | 144 | { |