IncompatibleDataException
class IncompatibleDataException 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.
Details
static protected string
describeDataType(ReflectionClass $data)
Return a description of the data type represented by the provided parameter.
static protected
describeAllowedTypes($allowedTypes)
No description
static protected
describeListOfAllowedTypes($allowedTypes)
No description
__construct(FormatterInterface $formatter, $data, $allowedTypes)
No description