Пример #1
0
 /**
  * Fill the properties by copying properties from original asset and adding '.min' inside them
  *
  * @return void
  */
 protected function fillPropertiesByOriginalAssetWithMin()
 {
     $this->file = $this->composeMinifiedName($this->originalAsset->getSourceFile());
     $this->path = $this->composeMinifiedName($this->originalAsset->getPath());
     $this->filePath = $this->composeMinifiedName($this->originalAsset->getFilePath());
     $this->context = $this->originalAsset->getContext();
     $this->url = $this->composeMinifiedName($this->originalAsset->getUrl());
 }