final class FusionSourceCodeCollection implements IteratorAggregate, Countable (View source)

Methods

__construct(FusionSourceCode ...$fusionSourceCode)

No description

fromFilePath(string $filePath)

No description

fromString(string $string)

No description

tryFromFilePath(string $filePath)

No description

tryFromPackageRootFusion(string $packageKey)

No description

empty()

No description

getIterator()

No description

int
count()

No description

Details

__construct(FusionSourceCode ...$fusionSourceCode)

No description

Parameters

FusionSourceCode ...$fusionSourceCode

array<int, FusionSourceCode>

static FusionSourceCodeCollection fromFilePath(string $filePath)

No description

Parameters

string $filePath

Return Value

FusionSourceCodeCollection

static FusionSourceCodeCollection fromString(string $string)

No description

Parameters

string $string

Return Value

FusionSourceCodeCollection

static FusionSourceCodeCollection tryFromFilePath(string $filePath)

No description

Parameters

string $filePath

Return Value

FusionSourceCodeCollection

static FusionSourceCodeCollection tryFromPackageRootFusion(string $packageKey)

No description

Parameters

string $packageKey

Return Value

FusionSourceCodeCollection

static FusionSourceCodeCollection empty()

No description

ArrayIterator getIterator()

No description

Return Value

ArrayIterator

int count()

No description

Return Value

int