35     private $assetPublisher;
    40     private $fileNameResolver;
    45     private $minification;
    71         $this->assetRepo = $assetRepo;
    72         $this->assetPublisher = $assetPublisher;
    73         $this->fileNameResolver = $fileNameResolver;
    75         $this->minification = $minification;
    87         $asset = $this->assetRepo->createAsset($this->resolveFile(
$fileName), 
$params);
    89         $this->assetPublisher->publish($asset);
    91         return $asset->getPath();
   100         if ($this->pubStaticDir->isExist(
$path)) {
   101             $absolutePath = $this->pubStaticDir->getAbsolutePath(
$path);
   102             if (is_link($absolutePath)) {
   103                 $this->pubStaticDir->getDriver()->deleteFile($absolutePath);
   105                 if ($this->pubStaticDir->getDriver()->isFile($absolutePath)) {
   106                     $this->pubStaticDir->getDriver()->deleteFile($absolutePath);
   108                     $this->pubStaticDir->getDriver()->deleteDirectory($absolutePath);
   168         return $this->pubStaticDir->copyFile(
   169             $sourcePath . DIRECTORY_SEPARATOR . $this->resolveFile(
$fileName),
   170             $targetPath . DIRECTORY_SEPARATOR . $this->resolveFile(
$fileName)
   209         $compiledFile = str_replace(
   212             $this->fileNameResolver->resolve(
$fileName)
   215         return $compiledFile;
 
readTmpFile($fileName, $filePath)
openFile($fileName, $filePath)
writeTmpFile($fileName, $filePath, $content)
copyFile($fileName, $sourcePath, $targetPath)
const TMP_MATERIALIZATION_DIR
readFile($fileName, $filePath)
__construct(Filesystem $filesystem, Repository $assetRepo, Publisher $assetPublisher, FileNameResolver $fileNameResolver, Minification $minification)
$params[\Magento\Store\Model\StoreManager::PARAM_RUN_CODE]
deployFile($fileName, array $params=[])
writeFile($fileName, $filePath, $content)