Skip to content

Commit c2be728

Browse files
committed
MAGETWO-34363: Pull request processing
1 parent 3e9c44c commit c2be728

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

lib/internal/Magento/Framework/App/View/Asset/Publisher.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
* See COPYING.txt for license details.
55
*/
66
namespace Magento\Framework\App\View\Asset;
7+
78
use Magento\Framework\App\Filesystem\DirectoryList;
89
use Magento\Framework\View\Asset;
10+
911
/**
1012
* A publishing service for view assets
1113
*/
@@ -14,11 +16,14 @@ class Publisher
1416
/**
1517
* @var \Magento\Framework\Filesystem
1618
*/
19+
1720
protected $filesystem;
21+
1822
/**
1923
* @var MaterializationStrategy\Factory
2024
*/
2125
private $materializationStrategyFactory;
26+
2227
/**
2328
* @param \Magento\Framework\Filesystem $filesystem
2429
* @param MaterializationStrategy\Factory $materializationStrategyFactory
@@ -30,6 +35,7 @@ public function __construct(
3035
$this->filesystem = $filesystem;
3136
$this->materializationStrategyFactory = $materializationStrategyFactory;
3237
}
38+
3339
/**
3440
* {@inheritdoc}
3541
*/
@@ -41,6 +47,7 @@ public function publish(Asset\LocalInterface $asset)
4147
}
4248
return $this->publishAsset($asset);
4349
}
50+
4451
/**
4552
* Publish the asset
4653
*
@@ -56,4 +63,4 @@ private function publishAsset(Asset\LocalInterface $asset)
5663
$strategy = $this->materializationStrategyFactory->create($asset);
5764
return $strategy->publishFile($rootDir, $targetDir, $source, $destination);
5865
}
59-
}
66+
}

0 commit comments

Comments
 (0)