DirectoryResource
in package
implements
IteratorResourceInterface
A resource is something formulae can be loaded from.
Tags
Interfaces, Classes and Traits
- IteratorResourceInterface
- A resource is something formulae can be loaded from.
Table of Contents
- $path : mixed
- $pattern : mixed
- __construct() : mixed
- Constructor.
- __toString() : mixed
- getContent() : mixed
- Returns the combined content of all inner resources.
- getIterator() : mixed
- isFresh() : mixed
- getInnerIterator() : mixed
Properties
$path
private
mixed
$path
$pattern
private
mixed
$pattern
Methods
__construct()
Constructor.
public
__construct(string $path[, string $pattern = null ]) : mixed
Parameters
- $path : string
-
A directory path
- $pattern : string = null
-
A filename pattern
Return values
mixed —__toString()
public
__toString() : mixed
Return values
mixed —getContent()
Returns the combined content of all inner resources.
public
getContent() : mixed
Return values
mixed —getIterator()
public
getIterator() : mixed
Return values
mixed —isFresh()
public
isFresh(mixed $timestamp) : mixed
Parameters
- $timestamp : mixed
Return values
mixed —getInnerIterator()
protected
getInnerIterator() : mixed