Collection

Extends \ArrayObject

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

package

Default

Methods

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

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

Arguments

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

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

if the given format index was not found.

Arguments

$index

string

Response

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