Documentation

CoalescingDirectoryResource
in package
implements IteratorResourceInterface

Coalesces multiple directories together into one merged resource.

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

$directories  : mixed
__construct()  : mixed
__toString()  : string
Returns a string to uniquely identify the current resource.
addDirectory()  : mixed
getContent()  : mixed
getIterator()  : mixed
isFresh()  : mixed
getRelativeName()  : string
Returns the relative version of a filename.
getFileResources()  : array<string|int, mixed>
Performs the coalesce.

Properties

Methods

__construct()

public __construct(mixed $directories) : mixed
Parameters
$directories : mixed
Return values
mixed

__toString()

Returns a string to uniquely identify the current resource.

public __toString() : string
Return values
string

An identifying string

getFileResources()

Performs the coalesce.

private getFileResources() : array<string|int, mixed>
Return values
array<string|int, mixed>

An array of file resources

Search results