@@ -32,27 +32,27 @@ |
||
| 32 | 32 | */ |
| 33 | 33 | public function provideBusinessLayerDependencies(Container $container) |
| 34 | 34 | { |
| 35 | - $container[static::FACADE_LOCALE] = function (Container $container) { |
|
| 35 | + $container[static::FACADE_LOCALE] = function(Container $container) { |
|
| 36 | 36 | return new EcondaToLocaleBridge($container->getLocator()->locale()->facade()); |
| 37 | 37 | }; |
| 38 | 38 | |
| 39 | - $container[self::FACADE_PROPEL] = function (Container $container) { |
|
| 39 | + $container[self::FACADE_PROPEL] = function(Container $container) { |
|
| 40 | 40 | return new EcondaToPropelBridge($container->getLocator()->propel()->facade()); |
| 41 | 41 | }; |
| 42 | 42 | |
| 43 | - $container[self::FACADE_PRICE] = function (Container $container) { |
|
| 43 | + $container[self::FACADE_PRICE] = function(Container $container) { |
|
| 44 | 44 | return new EcondaToPriceBridge($container->getLocator()->price()->facade()); |
| 45 | 45 | }; |
| 46 | 46 | |
| 47 | - $container[self::QUERY_CONTAINER_PRODUCT_IMAGE] = function (Container $container) { |
|
| 47 | + $container[self::QUERY_CONTAINER_PRODUCT_IMAGE] = function(Container $container) { |
|
| 48 | 48 | return $container->getLocator()->productImage()->queryContainer(); |
| 49 | 49 | }; |
| 50 | 50 | |
| 51 | - $container[self::QUERY_CONTAINER_PRODUCT_CATEGORY] = function (Container $container) { |
|
| 51 | + $container[self::QUERY_CONTAINER_PRODUCT_CATEGORY] = function(Container $container) { |
|
| 52 | 52 | return $container->getLocator()->productCategory()->queryContainer(); |
| 53 | 53 | }; |
| 54 | 54 | |
| 55 | - $container[self::FILE_PLUGINS] = function () { |
|
| 55 | + $container[self::FILE_PLUGINS] = function() { |
|
| 56 | 56 | return [ |
| 57 | 57 | 'products' => new ProductsPlugin(), |
| 58 | 58 | 'categories' => new CategoryPlugin(), |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | $fileContent = $this->getFacade()->getFileContent($type, $this->getLocale($request)); |
| 51 | 51 | |
| 52 | 52 | return $this->streamedResponse( |
| 53 | - function () use ($fileContent) { |
|
| 53 | + function() use ($fileContent) { |
|
| 54 | 54 | echo $fileContent; |
| 55 | 55 | }, |
| 56 | 56 | 200, |