@@ -49,7 +49,7 @@ |
||
| 49 | 49 | { |
| 50 | 50 | $this->assertUrlForDetach($urlTransfer); |
| 51 | 51 | |
| 52 | - $this->handleDatabaseTransaction(function () use ($urlTransfer) { |
|
| 52 | + $this->handleDatabaseTransaction(function() use ($urlTransfer) { |
|
| 53 | 53 | $this->executeDetachUrlFromNavigationNodesTransaction($urlTransfer); |
| 54 | 54 | }); |
| 55 | 55 | } |
@@ -49,67 +49,67 @@ discard block |
||
| 49 | 49 | */ |
| 50 | 50 | public function provideBusinessLayerDependencies(Container $container) |
| 51 | 51 | { |
| 52 | - $container[self::FACADE_LOCALE] = function (Container $container) { |
|
| 52 | + $container[self::FACADE_LOCALE] = function(Container $container) { |
|
| 53 | 53 | return new ProductToLocaleBridge($container->getLocator()->locale()->facade()); |
| 54 | 54 | }; |
| 55 | 55 | |
| 56 | - $container[self::FACADE_URL] = function (Container $container) { |
|
| 56 | + $container[self::FACADE_URL] = function(Container $container) { |
|
| 57 | 57 | return new ProductToUrlBridge($container->getLocator()->url()->facade()); |
| 58 | 58 | }; |
| 59 | 59 | |
| 60 | - $container[self::FACADE_TOUCH] = function (Container $container) { |
|
| 60 | + $container[self::FACADE_TOUCH] = function(Container $container) { |
|
| 61 | 61 | return new ProductToTouchBridge($container->getLocator()->touch()->facade()); |
| 62 | 62 | }; |
| 63 | 63 | |
| 64 | - $container[self::SERVICE_UTIL_TEXT] = function (Container $container) { |
|
| 64 | + $container[self::SERVICE_UTIL_TEXT] = function(Container $container) { |
|
| 65 | 65 | return new ProductToUtilTextBridge($container->getLocator()->utilText()->service()); |
| 66 | 66 | }; |
| 67 | 67 | |
| 68 | - $container[self::SERVICE_UTIL_ENCODING] = function (Container $container) { |
|
| 68 | + $container[self::SERVICE_UTIL_ENCODING] = function(Container $container) { |
|
| 69 | 69 | return new ProductToUtilEncodingBridge($container->getLocator()->utilEncoding()->service()); |
| 70 | 70 | }; |
| 71 | 71 | |
| 72 | - $container[self::FACADE_EVENT] = function (Container $container) { |
|
| 72 | + $container[self::FACADE_EVENT] = function(Container $container) { |
|
| 73 | 73 | return new ProductToEventBridge($container->getLocator()->event()->facade()); |
| 74 | 74 | }; |
| 75 | 75 | |
| 76 | - $container[self::PRODUCT_ABSTRACT_PLUGINS_BEFORE_CREATE] = function (Container $container) { |
|
| 76 | + $container[self::PRODUCT_ABSTRACT_PLUGINS_BEFORE_CREATE] = function(Container $container) { |
|
| 77 | 77 | return $this->getProductAbstractBeforeCreatePlugins($container); |
| 78 | 78 | }; |
| 79 | 79 | |
| 80 | - $container[self::PRODUCT_ABSTRACT_PLUGINS_AFTER_CREATE] = function (Container $container) { |
|
| 80 | + $container[self::PRODUCT_ABSTRACT_PLUGINS_AFTER_CREATE] = function(Container $container) { |
|
| 81 | 81 | return $this->getProductAbstractAfterCreatePlugins($container); |
| 82 | 82 | }; |
| 83 | 83 | |
| 84 | - $container[self::PRODUCT_ABSTRACT_PLUGINS_READ] = function (Container $container) { |
|
| 84 | + $container[self::PRODUCT_ABSTRACT_PLUGINS_READ] = function(Container $container) { |
|
| 85 | 85 | return $this->getProductAbstractReadPlugins($container); |
| 86 | 86 | }; |
| 87 | 87 | |
| 88 | - $container[self::PRODUCT_ABSTRACT_PLUGINS_BEFORE_UPDATE] = function (Container $container) { |
|
| 88 | + $container[self::PRODUCT_ABSTRACT_PLUGINS_BEFORE_UPDATE] = function(Container $container) { |
|
| 89 | 89 | return $this->getProductAbstractBeforeUpdatePlugins($container); |
| 90 | 90 | }; |
| 91 | 91 | |
| 92 | - $container[self::PRODUCT_ABSTRACT_PLUGINS_AFTER_UPDATE] = function (Container $container) { |
|
| 92 | + $container[self::PRODUCT_ABSTRACT_PLUGINS_AFTER_UPDATE] = function(Container $container) { |
|
| 93 | 93 | return $this->getProductAbstractAfterUpdatePlugins($container); |
| 94 | 94 | }; |
| 95 | 95 | |
| 96 | - $container[self::PRODUCT_CONCRETE_PLUGINS_BEFORE_CREATE] = function (Container $container) { |
|
| 96 | + $container[self::PRODUCT_CONCRETE_PLUGINS_BEFORE_CREATE] = function(Container $container) { |
|
| 97 | 97 | return $this->getProductConcreteBeforeCreatePlugins($container); |
| 98 | 98 | }; |
| 99 | 99 | |
| 100 | - $container[self::PRODUCT_CONCRETE_PLUGINS_AFTER_CREATE] = function (Container $container) { |
|
| 100 | + $container[self::PRODUCT_CONCRETE_PLUGINS_AFTER_CREATE] = function(Container $container) { |
|
| 101 | 101 | return $this->getProductConcreteAfterCreatePlugins($container); |
| 102 | 102 | }; |
| 103 | 103 | |
| 104 | - $container[self::PRODUCT_CONCRETE_PLUGINS_READ] = function (Container $container) { |
|
| 104 | + $container[self::PRODUCT_CONCRETE_PLUGINS_READ] = function(Container $container) { |
|
| 105 | 105 | return $this->getProductConcreteReadPlugins($container); |
| 106 | 106 | }; |
| 107 | 107 | |
| 108 | - $container[self::PRODUCT_CONCRETE_PLUGINS_BEFORE_UPDATE] = function (Container $container) { |
|
| 108 | + $container[self::PRODUCT_CONCRETE_PLUGINS_BEFORE_UPDATE] = function(Container $container) { |
|
| 109 | 109 | return $this->getProductConcreteBeforeUpdatePlugins($container); |
| 110 | 110 | }; |
| 111 | 111 | |
| 112 | - $container[self::PRODUCT_CONCRETE_PLUGINS_AFTER_UPDATE] = function (Container $container) { |
|
| 112 | + $container[self::PRODUCT_CONCRETE_PLUGINS_AFTER_UPDATE] = function(Container $container) { |
|
| 113 | 113 | return $this->getProductConcreteAfterUpdatePlugins($container); |
| 114 | 114 | }; |
| 115 | 115 | |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | */ |
| 134 | 134 | public function providePersistenceLayerDependencies(Container $container) |
| 135 | 135 | { |
| 136 | - $container[self::QUERY_CONTAINER_URL] = function (Container $container) { |
|
| 136 | + $container[self::QUERY_CONTAINER_URL] = function(Container $container) { |
|
| 137 | 137 | return new ProductToUrlQueryContainerBridge($container->getLocator()->url()->queryContainer()); |
| 138 | 138 | }; |
| 139 | 139 | |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | ); |
| 62 | 62 | } |
| 63 | 63 | |
| 64 | - $this->handleDatabaseTransaction(function () use ($productRelationEntity) { |
|
| 64 | + $this->handleDatabaseTransaction(function() use ($productRelationEntity) { |
|
| 65 | 65 | $this->executeActivateRelationTransaction($productRelationEntity); |
| 66 | 66 | }); |
| 67 | 67 | } |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | ); |
| 100 | 100 | } |
| 101 | 101 | |
| 102 | - $this->handleDatabaseTransaction(function () use ($productRelationEntity) { |
|
| 102 | + $this->handleDatabaseTransaction(function() use ($productRelationEntity) { |
|
| 103 | 103 | $this->executeDeactivateRelationTransaction($productRelationEntity); |
| 104 | 104 | }); |
| 105 | 105 | } |
@@ -35,19 +35,19 @@ discard block |
||
| 35 | 35 | */ |
| 36 | 36 | public function provideBusinessLayerDependencies(Container $container) |
| 37 | 37 | { |
| 38 | - $container[self::FACADE_LOCALE] = function (Container $container) { |
|
| 38 | + $container[self::FACADE_LOCALE] = function(Container $container) { |
|
| 39 | 39 | return new ProductCategoryToLocaleBridge($container->getLocator()->locale()->facade()); |
| 40 | 40 | }; |
| 41 | 41 | |
| 42 | - $container[self::FACADE_PRODUCT] = function (Container $container) { |
|
| 42 | + $container[self::FACADE_PRODUCT] = function(Container $container) { |
|
| 43 | 43 | return new ProductCategoryToProductBridge($container->getLocator()->product()->facade()); |
| 44 | 44 | }; |
| 45 | 45 | |
| 46 | - $container[self::FACADE_CATEGORY] = function (Container $container) { |
|
| 46 | + $container[self::FACADE_CATEGORY] = function(Container $container) { |
|
| 47 | 47 | return new ProductCategoryToCategoryBridge($container->getLocator()->category()->facade()); |
| 48 | 48 | }; |
| 49 | 49 | |
| 50 | - $container[self::FACADE_EVENT] = function (Container $container) { |
|
| 50 | + $container[self::FACADE_EVENT] = function(Container $container) { |
|
| 51 | 51 | return new ProductCategoryToEventBridge($container->getLocator()->event()->facade()); |
| 52 | 52 | }; |
| 53 | 53 | |
@@ -61,15 +61,15 @@ discard block |
||
| 61 | 61 | */ |
| 62 | 62 | public function provideCommunicationLayerDependencies(Container $container) |
| 63 | 63 | { |
| 64 | - $container[self::FACADE_LOCALE] = function (Container $container) { |
|
| 64 | + $container[self::FACADE_LOCALE] = function(Container $container) { |
|
| 65 | 65 | return new ProductCategoryToLocaleBridge($container->getLocator()->locale()->facade()); |
| 66 | 66 | }; |
| 67 | 67 | |
| 68 | - $container[self::CATEGORY_QUERY_CONTAINER] = function (Container $container) { |
|
| 68 | + $container[self::CATEGORY_QUERY_CONTAINER] = function(Container $container) { |
|
| 69 | 69 | return new ProductCategoryToCategoryQueryContainerBridge($container->getLocator()->category()->queryContainer()); |
| 70 | 70 | }; |
| 71 | 71 | |
| 72 | - $container[self::SERVICE_UTIL_ENCODING] = function (Container $container) { |
|
| 72 | + $container[self::SERVICE_UTIL_ENCODING] = function(Container $container) { |
|
| 73 | 73 | return new ProductCategoryToUtilEncodingBridge($container->getLocator()->utilEncoding()->service()); |
| 74 | 74 | }; |
| 75 | 75 | |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | */ |
| 36 | 36 | protected function providePluginApplication(Container $container) |
| 37 | 37 | { |
| 38 | - $container[self::PLUGIN_APPLICATION] = function () { |
|
| 38 | + $container[self::PLUGIN_APPLICATION] = function() { |
|
| 39 | 39 | $pimplePlugin = new Pimple(); |
| 40 | 40 | |
| 41 | 41 | return $pimplePlugin->getApplication(); |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | public function log($message) |
| 47 | 47 | { |
| 48 | 48 | if (!$this->eventConfig->isLoggerActivated()) { |
| 49 | - return; |
|
| 49 | + return; |
|
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | $this->getLogger($this->loggerConfig) |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | */ |
| 31 | 31 | public function queryImageSetByProductAbstractId($idProductAbstract) |
| 32 | 32 | { |
| 33 | - return $this->productImageQueryContainer->queryImageSetByProductAbstractId($idProductAbstract); |
|
| 33 | + return $this->productImageQueryContainer->queryImageSetByProductAbstractId($idProductAbstract); |
|
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | } |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | |
| 65 | 65 | $productRelationTypeTransfer = $productRelationTransfer->getProductRelationType(); |
| 66 | 66 | |
| 67 | - return $this->handleDatabaseTransaction(function () use ($productRelationTransfer, $productRelationTypeTransfer) { |
|
| 67 | + return $this->handleDatabaseTransaction(function() use ($productRelationTransfer, $productRelationTypeTransfer) { |
|
| 68 | 68 | return $this->executeSaveRelationTransaction($productRelationTransfer, $productRelationTypeTransfer); |
| 69 | 69 | }); |
| 70 | 70 | } |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | ); |
| 117 | 117 | } |
| 118 | 118 | |
| 119 | - $this->handleDatabaseTransaction(function () use ($productRelationTransfer, $productRelationEntity) { |
|
| 119 | + $this->handleDatabaseTransaction(function() use ($productRelationTransfer, $productRelationEntity) { |
|
| 120 | 120 | $this->executeUpdateRelationTransaction($productRelationTransfer, $productRelationEntity); |
| 121 | 121 | }); |
| 122 | 122 | } |
@@ -171,7 +171,7 @@ discard block |
||
| 171 | 171 | ); |
| 172 | 172 | } |
| 173 | 173 | |
| 174 | - $deleted = $this->handleDatabaseTransaction(function () use ($productRelationEntity) { |
|
| 174 | + $deleted = $this->handleDatabaseTransaction(function() use ($productRelationEntity) { |
|
| 175 | 175 | return $this->executeDeleteProductRelationTransaction($productRelationEntity); |
| 176 | 176 | }); |
| 177 | 177 | |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | foreach ($stateMachineItems as $stateMachineItemTransfer) { |
| 76 | - $this->handleDatabaseTransaction(function () use ($processes, $sourceStates, $stateMachineItemTransfer) { |
|
| 76 | + $this->handleDatabaseTransaction(function() use ($processes, $sourceStates, $stateMachineItemTransfer) { |
|
| 77 | 77 | $this->executeUpdateItemStateTransaction($processes, $sourceStates, $stateMachineItemTransfer); |
| 78 | 78 | }); |
| 79 | 79 | } |