X7ROOT File Manager
Current Path:
/home/gfecatvj/sites/realesbar-X/app
home
/
gfecatvj
/
sites
/
realesbar-X
/
app
/
📁
..
📄
Agency.php
(102 B)
📄
Agent.php
(101 B)
📄
Article.php
(306 B)
📄
Blogger.php
(103 B)
📁
Console
📁
Exceptions
📄
Feedback.php
(104 B)
📁
Http
📁
Mail
📄
Message.php
(103 B)
📄
Pcomment.php
(104 B)
📄
Property.php
(2.09 KB)
📁
Providers
📄
Role.php
(221 B)
📄
User.php
(1.02 KB)
Editing: User.php
<?php namespace App; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; class User extends Authenticatable { use Notifiable; //protected $guard = 'admin'; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'name', 'email', 'password', 'role', 'username', 'profile_picture', ]; /** * The attributes that should be hidden for arrays. * * @var array */ protected $hidden = [ 'password', 'remember_token', ]; public function role() { return $this->belongsTo('App\Role'); } /** * The attributes that should be cast to native types. * * @var array */ protected $casts = [ 'email_verified_at' => 'datetime', ]; public function set_login_logs($id,$data){ } public function hasRole() { return $this->role('name'); } }
Upload File
Create Folder