Property | Type | Description | |
---|---|---|---|
$exceptionFactory | WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface | ||
$includeOriginalMessage | boolean |
Method | Description | |
---|---|---|
__construct ( WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface $exceptionFactory, boolean $includeOriginalMessageInResponse = true ) |
Method | Description | |
---|---|---|
lintMessage ( string $message ) : string | ||
validateMessage ( string $message ) : array |
public __construct ( WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface $exceptionFactory, boolean $includeOriginalMessageInResponse = true ) | ||
$exceptionFactory | WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface | |
$includeOriginalMessageInResponse | boolean |
protected lintMessage ( string $message ) : string | ||
$message | string | |
return | string |
protected validateMessage ( string $message ) : array | ||
$message | string | |
return | array |
protected ExceptionFactoryInterface,WoohooLabs\Yin\JsonApi\Exception $exceptionFactory | ||
return | WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface |