File tree Expand file tree Collapse file tree 4 files changed +7
-17
lines changed Expand file tree Collapse file tree 4 files changed +7
-17
lines changed Original file line number Diff line number Diff line change 10
10
11
11
class Processor
12
12
{
13
- /**
14
- * List of css placeholders
15
- *
16
- * @var array
17
- */
18
- private $ placeholders = [
19
- 'base_url_path ' ,
20
- 'locale '
21
- ];
22
-
23
13
/**
24
14
* @var Repository
25
15
*/
@@ -28,9 +18,8 @@ class Processor
28
18
/**
29
19
* @param Repository $assetRepository
30
20
*/
31
- public function __construct (
32
- Repository $ assetRepository
33
- ) {
21
+ public function __construct (Repository $ assetRepository )
22
+ {
34
23
$ this ->assetRepository = $ assetRepository ;
35
24
}
36
25
Original file line number Diff line number Diff line change 5
5
*/
6
6
namespace Magento \Email \Model \Template ;
7
7
8
- use Magento \Framework \App \Filesystem \DirectoryList ;
9
8
use Magento \Framework \App \ObjectManager ;
10
9
use Magento \Framework \Filesystem ;
10
+ use Magento \Framework \Filesystem \Directory \ReadInterface ;
11
11
use Magento \Framework \View \Asset \ContentProcessorException ;
12
12
use Magento \Framework \View \Asset \ContentProcessorInterface ;
13
13
@@ -162,7 +162,7 @@ class Filter extends \Magento\Framework\Filter\Template
162
162
private $ cssProcessor ;
163
163
164
164
/**
165
- * @var \Magento\Framework\Filesystem\Directory\ ReadInterface
165
+ * @var ReadInterface
166
166
*/
167
167
private $ pubDirectory ;
168
168
@@ -231,7 +231,7 @@ private function getCssProcessor()
231
231
/**
232
232
* @deprecated
233
233
* @param string $dirType
234
- * @return Filesystem\Directory\ ReadInterface
234
+ * @return ReadInterface
235
235
*/
236
236
private function getPubDirectory ($ dirType )
237
237
{
Original file line number Diff line number Diff line change 3
3
* Copyright © 2016 Magento. All rights reserved.
4
4
* See COPYING.txt for license details.
5
5
*/
6
- namespace Magento \Emai \Test \Unit \Model \Template \Css ;
6
+ namespace Magento \Email \Test \Unit \Model \Template \Css ;
7
7
8
8
use Magento \Email \Model \Template \Css \Processor ;
9
9
use Magento \Framework \View \Asset \File \FallbackContext ;
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
namespace Magento \Email \Test \Unit \Model \Template ;
7
+
7
8
use Magento \Email \Model \Template \Css \Processor ;
8
9
use Magento \Email \Model \Template \Filter ;
9
10
use Magento \Framework \App \Area ;
You can’t perform that action at this time.
0 commit comments