October\Rain\Assetic\Asset\AssetCache

Implements:

  • October\Rain\Assetic\Asset\AssetInterface

Caches an asset to avoid the cost of loading and dumping.

Public methods

public void __construct($asset, $cache)
Parameters
  • $asset
  • $cache

public void clearFilters()

public void dump($additionalFilter=NULL)
Parameters
  • $additionalFilter

public void ensureFilter($filter)
Parameters
  • $filter

public void getContent()

public void getFilters()

public void getLastModified()

public void getSourceDirectory()

public void getSourcePath()

public void getSourceRoot()

public void getTargetPath()

public void getValues()

public void getVars()

public void load($additionalFilter=NULL)
Parameters
  • $additionalFilter

public void setContent($content)
Parameters
  • $content

public void setTargetPath($targetPath)
Parameters
  • $targetPath

public void setValues($values)
Parameters
  • $values