October\Rain\Assetic\Factory\Resource\DirectoryResource

Overview

DirectoryResource is a resource is something formulae can be loaded from.

Implements
  • October\Rain\Assetic\Factory\Resource\IteratorResourceInterface
  • Stringable
  • Traversable
  • IteratorAggregate
  • October\Rain\Assetic\Factory\Resource\ResourceInterface

Public Methods

public __construct()

public __construct(string $path, string $pattern = null): void

Constructor.

public __toString()

public __toString(): string 

public getContent()

public getContent(): void

Returns the combined content of all inner resources.

public getIterator()

public getIterator(): void

public isFresh()

public isFresh($timestamp): void

Protected Methods

protected getInnerIterator()

protected getInnerIterator(): void