@@ -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 | } |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | |
58 | 58 | return Response::view( 'shop::catalog.detail', $params ) |
59 | 59 | ->header( 'Cache-Control', 'max-age=10' ) |
60 | - ->header('Cache-Control', 'private'); |
|
60 | + ->header( 'Cache-Control', 'private' ); |
|
61 | 61 | } |
62 | 62 | |
63 | 63 | |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | |
77 | 77 | return Response::view( 'shop::catalog.list', $params ) |
78 | 78 | ->header( 'Cache-Control', 'max-age=10' ) |
79 | - ->header('Cache-Control', 'private'); |
|
79 | + ->header( 'Cache-Control', 'private' ); |
|
80 | 80 | } |
81 | 81 | |
82 | 82 | |
@@ -112,8 +112,8 @@ discard block |
||
112 | 112 | $params['aibody'][$name] = Shop::get( $name )->getBody(); |
113 | 113 | } |
114 | 114 | |
115 | - return Response::view('shop::catalog.suggest', $params) |
|
116 | - ->header('Content-Type', 'application/json') |
|
115 | + return Response::view( 'shop::catalog.suggest', $params ) |
|
116 | + ->header( 'Content-Type', 'application/json' ) |
|
117 | 117 | ->header( 'Cache-Control', 'max-age=300' ); |
118 | 118 | } |
119 | 119 | |
@@ -133,6 +133,6 @@ discard block |
||
133 | 133 | |
134 | 134 | return Response::view( 'shop::catalog.tree', $params ) |
135 | 135 | ->header( 'Cache-Control', 'max-age=10' ) |
136 | - ->header('Cache-Control', 'private'); |
|
136 | + ->header( 'Cache-Control', 'private' ); |
|
137 | 137 | } |
138 | 138 | } |
139 | 139 | \ No newline at end of file |