Factory

Factory class that is able to return a contract between an input and output format (Definition).

package

Default

Methods

Registers the available formats for use in creating definitions.

__construct(\phpDocumentor\Plugin\Scrybe\Converter\Format\Collection $formats) 

Creates a definition of the given input and output formats.

get(string $input_format, string $output_format) : \phpDocumentor\Plugin\Scrybe\Converter\Definition\Definition

Arguments

$input_format

string

$output_format

string

Response

\phpDocumentor\Plugin\Scrybe\Converter\Definition\Definition

Properties

Collection of available formats

format_collection : \phpDocumentor\Plugin\Scrybe\Converter\Format\Collection
var

Collection of available formats

Type(s)

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