@@ -16,13 +16,13 @@ |
||
16 | 16 | */ |
17 | 17 | class Locale extends \Illuminate\Support\Facades\Facade |
18 | 18 | { |
19 | - /** |
|
20 | - * Returns a new locale frontend controller object |
|
21 | - * |
|
22 | - * @return \Aimeos\Controller\Frontend\Locale\Iface |
|
23 | - */ |
|
24 | - protected static function getFacadeAccessor() |
|
25 | - { |
|
26 | - return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'locale' ); |
|
27 | - } |
|
19 | + /** |
|
20 | + * Returns a new locale frontend controller object |
|
21 | + * |
|
22 | + * @return \Aimeos\Controller\Frontend\Locale\Iface |
|
23 | + */ |
|
24 | + protected static function getFacadeAccessor() |
|
25 | + { |
|
26 | + return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'locale' ); |
|
27 | + } |
|
28 | 28 | } |
@@ -16,13 +16,13 @@ |
||
16 | 16 | */ |
17 | 17 | class Subscription extends \Illuminate\Support\Facades\Facade |
18 | 18 | { |
19 | - /** |
|
20 | - * Returns a new subscription frontend controller object |
|
21 | - * |
|
22 | - * @return \Aimeos\Controller\Frontend\Subscription\Iface |
|
23 | - */ |
|
24 | - protected static function getFacadeAccessor() |
|
25 | - { |
|
26 | - return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'subscription' ); |
|
27 | - } |
|
19 | + /** |
|
20 | + * Returns a new subscription frontend controller object |
|
21 | + * |
|
22 | + * @return \Aimeos\Controller\Frontend\Subscription\Iface |
|
23 | + */ |
|
24 | + protected static function getFacadeAccessor() |
|
25 | + { |
|
26 | + return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'subscription' ); |
|
27 | + } |
|
28 | 28 | } |
@@ -16,13 +16,13 @@ |
||
16 | 16 | */ |
17 | 17 | class Catalog extends \Illuminate\Support\Facades\Facade |
18 | 18 | { |
19 | - /** |
|
20 | - * Returns a new catalog frontend controller object |
|
21 | - * |
|
22 | - * @return \Aimeos\Controller\Frontend\Catalog\Iface |
|
23 | - */ |
|
24 | - protected static function getFacadeAccessor() |
|
25 | - { |
|
26 | - return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'catalog' ); |
|
27 | - } |
|
19 | + /** |
|
20 | + * Returns a new catalog frontend controller object |
|
21 | + * |
|
22 | + * @return \Aimeos\Controller\Frontend\Catalog\Iface |
|
23 | + */ |
|
24 | + protected static function getFacadeAccessor() |
|
25 | + { |
|
26 | + return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'catalog' ); |
|
27 | + } |
|
28 | 28 | } |
@@ -16,13 +16,13 @@ |
||
16 | 16 | */ |
17 | 17 | class Customer extends \Illuminate\Support\Facades\Facade |
18 | 18 | { |
19 | - /** |
|
20 | - * Returns a new customer frontend controller object |
|
21 | - * |
|
22 | - * @return \Aimeos\Controller\Frontend\Customer\Iface |
|
23 | - */ |
|
24 | - protected static function getFacadeAccessor() |
|
25 | - { |
|
26 | - return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'customer' ); |
|
27 | - } |
|
19 | + /** |
|
20 | + * Returns a new customer frontend controller object |
|
21 | + * |
|
22 | + * @return \Aimeos\Controller\Frontend\Customer\Iface |
|
23 | + */ |
|
24 | + protected static function getFacadeAccessor() |
|
25 | + { |
|
26 | + return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'customer' ); |
|
27 | + } |
|
28 | 28 | } |
@@ -16,13 +16,13 @@ |
||
16 | 16 | */ |
17 | 17 | class Basket extends \Illuminate\Support\Facades\Facade |
18 | 18 | { |
19 | - /** |
|
20 | - * Returns a new basket frontend controller object |
|
21 | - * |
|
22 | - * @return \Aimeos\Controller\Frontend\Basket\Iface |
|
23 | - */ |
|
24 | - protected static function getFacadeAccessor() |
|
25 | - { |
|
26 | - return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'basket' ); |
|
27 | - } |
|
19 | + /** |
|
20 | + * Returns a new basket frontend controller object |
|
21 | + * |
|
22 | + * @return \Aimeos\Controller\Frontend\Basket\Iface |
|
23 | + */ |
|
24 | + protected static function getFacadeAccessor() |
|
25 | + { |
|
26 | + return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'basket' ); |
|
27 | + } |
|
28 | 28 | } |
@@ -16,13 +16,13 @@ |
||
16 | 16 | */ |
17 | 17 | class Product extends \Illuminate\Support\Facades\Facade |
18 | 18 | { |
19 | - /** |
|
20 | - * Returns a new product frontend controller object |
|
21 | - * |
|
22 | - * @return \Aimeos\Controller\Frontend\Product\Iface |
|
23 | - */ |
|
24 | - protected static function getFacadeAccessor() |
|
25 | - { |
|
26 | - return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'product' ); |
|
27 | - } |
|
19 | + /** |
|
20 | + * Returns a new product frontend controller object |
|
21 | + * |
|
22 | + * @return \Aimeos\Controller\Frontend\Product\Iface |
|
23 | + */ |
|
24 | + protected static function getFacadeAccessor() |
|
25 | + { |
|
26 | + return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'product' ); |
|
27 | + } |
|
28 | 28 | } |
@@ -16,13 +16,13 @@ |
||
16 | 16 | */ |
17 | 17 | class Service extends \Illuminate\Support\Facades\Facade |
18 | 18 | { |
19 | - /** |
|
20 | - * Returns a new service frontend controller object |
|
21 | - * |
|
22 | - * @return \Aimeos\Controller\Frontend\Service\Iface |
|
23 | - */ |
|
24 | - protected static function getFacadeAccessor() |
|
25 | - { |
|
26 | - return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'service' ); |
|
27 | - } |
|
19 | + /** |
|
20 | + * Returns a new service frontend controller object |
|
21 | + * |
|
22 | + * @return \Aimeos\Controller\Frontend\Service\Iface |
|
23 | + */ |
|
24 | + protected static function getFacadeAccessor() |
|
25 | + { |
|
26 | + return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'service' ); |
|
27 | + } |
|
28 | 28 | } |
@@ -16,13 +16,13 @@ |
||
16 | 16 | */ |
17 | 17 | class Attribute extends \Illuminate\Support\Facades\Facade |
18 | 18 | { |
19 | - /** |
|
20 | - * Returns a new attribute frontend controller object |
|
21 | - * |
|
22 | - * @return \Aimeos\Controller\Frontend\Attribute\Iface |
|
23 | - */ |
|
24 | - protected static function getFacadeAccessor() |
|
25 | - { |
|
26 | - return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'attribute' ); |
|
27 | - } |
|
19 | + /** |
|
20 | + * Returns a new attribute frontend controller object |
|
21 | + * |
|
22 | + * @return \Aimeos\Controller\Frontend\Attribute\Iface |
|
23 | + */ |
|
24 | + protected static function getFacadeAccessor() |
|
25 | + { |
|
26 | + return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'attribute' ); |
|
27 | + } |
|
28 | 28 | } |
@@ -110,9 +110,9 @@ |
||
110 | 110 | $params['aibody'][$name] = Shop::get( $name )->getBody(); |
111 | 111 | } |
112 | 112 | |
113 | - return Response::view('shop::catalog.suggest', $params) |
|
114 | - ->header('Cache-Control', 'private, max-age=300' ) |
|
115 | - ->header('Content-Type', 'application/json'); |
|
113 | + return Response::view( 'shop::catalog.suggest', $params ) |
|
114 | + ->header( 'Cache-Control', 'private, max-age=300' ) |
|
115 | + ->header( 'Content-Type', 'application/json' ); |
|
116 | 116 | } |
117 | 117 | |
118 | 118 |