class InvalidFormatException extends AbstractDataFormatException (View source)

Represents an incompatibility between the output data and selected formatter.

Methods

static string
describeDataType(ReflectionClass $data)

Return a description of the data type represented by the provided parameter.

static 
describeAllowedTypes($allowedTypes)

No description

static 
describeListOfAllowedTypes($allowedTypes)

No description

__construct($format, $data, $validFormats)

No description

Details

static protected string describeDataType(ReflectionClass $data)

Return a description of the data type represented by the provided parameter.

Parameters

ReflectionClass $data

The data type to describe. Note that \ArrayObject is used as a proxy to mean an array primitive (or an ArrayObject).

Return Value

string

static protected describeAllowedTypes($allowedTypes)

No description

Parameters

$allowedTypes

static protected describeListOfAllowedTypes($allowedTypes)

No description

Parameters

$allowedTypes

__construct($format, $data, $validFormats)

No description

Parameters

$format
$data
$validFormats