for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace MadWeb\SocialAuth\Exceptions;
use Illuminate\Database\Eloquent\Model;
use Symfony\Component\HttpFoundation\Response;
use Illuminate\Http\Exceptions\HttpResponseException;
class SocialAuthHttpException extends HttpResponseException
{
/**
* @var \Illuminate\Database\Eloquent\Model
*/
protected $social;
* SocialAuthException constructor.
* @param Response $response
* @param \Illuminate\Database\Eloquent\Model $social
public function __construct(Response $response, Model $social)
parent::__construct($response);
$this->social = $social;
}