ThemeNameCollection

Implements \IteratorAggregate

Class ThemeNameCollection

package

Default

Methods

ThemeNameCollection constructor.

__construct(\ThemeName $names) 

Arguments

$names

\ThemeName

Theme names.

Named constructor of ThemeNameCollection.

collect(\ThemeName $names) : \ThemeNameCollection
static

Arguments

$names

\ThemeName

Theme names.

Response

\ThemeNameCollection

New instance.

Returns an array iterator of the internal collected theme name 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

names

names : array<mixed,\ThemeNameInterface>
var

Type(s)

array<mixed,\ThemeNameInterface>