W3cubDocs

/Symfony 4.1

InvalidTypeException

class InvalidTypeException extends InvalidConfigurationException

This exception is thrown if an invalid type is encountered.

Methods

setPath($path) from InvalidConfigurationException
getPath() from InvalidConfigurationException
addHint(string $hint)

Adds extra information that is suffixed to the original exception message.

from InvalidConfigurationException

Details

setPath($path)

Parameters

$path

getPath()

addHint(string $hint)

Adds extra information that is suffixed to the original exception message.

Parameters

string $hint