PATH:
home
/
lab2454c
/
tripvare.com
/
vendor
/
yadahan
/
laravel-authentication-log
/
src
<?php namespace Yadahan\AuthenticationLog; use Illuminate\Database\Eloquent\Model; class AuthenticationLog extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'authentication_log'; /** * Indicates if the model should be timestamped. * * @var bool */ public $timestamps = false; /** * The attributes that aren't mass assignable. * * @var array */ protected $guarded = ['authenticatable_id', 'authenticatable_type']; /** * The attributes that should be cast to native types. * * @var array */ protected $casts = [ 'login_at' => 'datetime', 'logout_at' => 'datetime', ]; /** * Get the authenticatable entity that the authentication log belongs to. */ public function authenticatable() { return $this->morphTo(); } }
[-] AuthenticationLog.php
[edit]
[+]
..
[+]
Listeners
[-] AuthenticationLogServiceProvider.php
[edit]
[-] AuthenticationLogable.php
[edit]
[+]
Console
[-] EventMap.php
[edit]
[+]
Notifications