コード例 #1
0
ファイル: Entry.php プロジェクト: marwelln/basset
 /**
  * Add a development asset.
  *
  * @param  string|\Basset\Asset  $value
  * @param  string  $fingerprint
  * @param  string  $group
  * @return void
  */
 public function addDevelopmentAsset($value, $fingerprint = null, $group = null)
 {
     if ($value instanceof Asset) {
         $group = $value->getGroup();
         $fingerprint = $value->getBuildPath();
         $value = $value->getRelativePath();
     }
     $this->development[$group][$value] = $fingerprint;
 }