October\Rain\Assetic\Factory\Resource\FileResource

Implements:

  • October\Rain\Assetic\Factory\Resource\ResourceInterface

A resource is something formulae can be loaded from.

Public methods

public void __construct(string $path)

Constructor.

Parameters
  • string $path - The path to a file

public void __toString()

public void getContent()

public void isFresh($timestamp)
Parameters
  • $timestamp