class SourceCollector
Properties
| protected SourceInterface[] | $sources |
|
class SourceCollector
| protected SourceInterface[] | $sources |
|
__construct(array $allowedSourceTypes = [])
SourceCollector
addFile(string $file, string $extensionId = null)
SourceCollector
addString(Closure $callback)
SourceCollector
addDirectory(string $directory, string $extensionId = null)
array
getSources()
protected SourceInterface
validateSourceType(SourceInterface $source)