for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Flugg\Responder\Exceptions;
use League\Fractal\Serializer\SerializerAbstract;
use RuntimeException;
/**
* An exception thrown when the given serializer is not a valid serializer class.
*
* @package flugger/laravel-responder
* @author Alexander Tømmerås <[email protected]>
* @license The MIT License
*/
class InvalidSerializerException extends RuntimeException
{
* InvalidSerializerException constructor.
public function __construct()
return parent::__construct('Given serializer is not an instance of [' . SerializerAbstract::class . '].');
}