ThemeDirectoryCollection

Implements \IteratorAggregate

Class ThemeDirectoryCollection

package

Default

Methods

ThemeDirectoryCollection constructor.

__construct(\ThemeDirectory $themeDirectories) 

Arguments

$themeDirectories

\ThemeDirectory

Theme directories to be collected.

Named constructor of ThemeDictoryCollection.

collect(\ThemeDirectory $themeDirectories) : \ThemeDirectoryCollection
static

Arguments

$themeDirectories

\ThemeDirectory

Theme directories to be collected.

Response

\ThemeDirectoryCollection

New instance.

Returns an array iterator of the internal collected theme directory instances.

getIterator() : \ArrayIterator|\Traversable

This method is used php internally, so instances of this class can be used in foreach loops.

Response

\ArrayIterator|\Traversable

Properties

items

items : array<mixed,\ThemeDirectory>
var

Type(s)

array<mixed,\ThemeDirectory>