Skip to content

Commit 70096fc

Browse files
committed
MAGETWO-52660: Improve performance of static assets deployment
- MAGETWO-57185: Porting to 2.1 -- use theme provider
1 parent 058ac23 commit 70096fc

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

app/code/Magento/Deploy/Model/Deployer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,7 @@ private function findAncestors($themeFullPath)
483483

484484
/**
485485
* @return ThemeProviderInterface
486+
* @deprecated
486487
*/
487488
private function getThemeProvider()
488489
{

lib/internal/Magento/Framework/Css/PreProcessor/Instruction/MagentoImport.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ protected function getTheme(LocalInterface $asset)
137137

138138
/**
139139
* @return ThemeProviderInterface
140+
* @deprecated
140141
*/
141142
private function getThemeProvider()
142143
{

lib/internal/Magento/Framework/View/Asset/Bundle/Config.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ public function getPartSize(FallbackContext $assetContext)
106106

107107
/**
108108
* @return ThemeProviderInterface
109+
* @deprecated
109110
*/
110111
private function getThemeProvider()
111112
{

lib/internal/Magento/Framework/View/Asset/Repository.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ public function updateDesignParams(array &$params)
168168

169169
/**
170170
* @return ThemeProviderInterface
171+
* @deprecated
171172
*/
172173
private function getThemeProvider()
173174
{

lib/internal/Magento/Framework/View/Asset/Source.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ private function findFileThroughFallback(
231231

232232
/**
233233
* @return ThemeProviderInterface
234+
* @deprecated
234235
*/
235236
private function getThemeProvider()
236237
{

0 commit comments

Comments
 (0)