function __construct(Application $app, $name) { $this->app = $app; $this->name = $name; $this->createProvider(); parent::__construct($this->app["auth2.{$this->name}.reminder.repository"], $this->app["auth.{$this->name}.provider"], $this->app['mailer'], $this->getEmailTemplate()); }
/** * Get the user for the given credentials. * * @param array $credentials * @return \Illuminate\Auth\Reminders\RemindableInterface * @throws \UnexpectedValueException * @static */ public static function getUser($credentials) { return \Illuminate\Auth\Reminders\PasswordBroker::getUser($credentials); }