\phpDocumentor\Plugin\Scrybe\Converter\FormatCollection

A Collection containing all different text-bases file formats that are supported by Scrybe, their mmime-types and available extensions.

Summary

Methods
Properties
Constants
__construct()
offsetGet()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(array<mixed,\phpDocumentor\Plugin\Scrybe\Converter\Format\Format>|null  $input = null) 

Constructs this collection with a default set of formats if none are given.

Parameters

array<mixed,\phpDocumentor\Plugin\Scrybe\Converter\Format\Format>|null $input

offsetGet()

offsetGet(string  $index) : \phpDocumentor\Plugin\Scrybe\Converter\Format\Format

Finds a format by the given name or throws an exception if that index is not found.

Parameters

string $index

Throws

\phpDocumentor\Plugin\Scrybe\Converter\Format\Exception\FormatNotFoundException

if the given format index was not found.

Returns

\phpDocumentor\Plugin\Scrybe\Converter\Format\Format