Flugg\Responder\Exceptions\InvalidTransformerException::__construct PHP Méthode

__construct() public méthode

Create a new exception instance.
public __construct ( Model $model )
$model Illuminate\Database\Eloquent\Model
    public function __construct(Model $model)
    {
        parent::__construct('The given transformer does not exist for model [' . get_class($model) . '].');
    }
InvalidTransformerException