Documentation

DirectoryResource
in package
implements IteratorResourceInterface

A resource is something formulae can be loaded from.

Tags
author

Kris Wallsmith kris.wallsmith@gmail.com

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

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

getContent()

Returns the combined content of all inner resources.

public getContent() : mixed
Return values
mixed

isFresh()

public isFresh(mixed $timestamp) : mixed
Parameters
$timestamp : mixed
Return values
mixed

getInnerIterator()

protected getInnerIterator() : mixed
Return values
mixed

Search results