mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Update Namespacing
This commit is contained in:
parent
567f26a28b
commit
0a818526e0
@ -1,6 +1,7 @@
|
|||||||
<?php namespace App\Models;
|
<?php namespace App\Models;
|
||||||
|
|
||||||
use Eloquent;
|
use Eloquent;
|
||||||
|
use Utils;
|
||||||
|
|
||||||
class Account extends Eloquent
|
class Account extends Eloquent
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<?php namespace App\Models;
|
<?php namespace App\Models;
|
||||||
|
|
||||||
|
use Eloquent;
|
||||||
|
|
||||||
class Activity extends Eloquent
|
class Activity extends Eloquent
|
||||||
{
|
{
|
||||||
public $timestamps = true;
|
public $timestamps = true;
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
<?php namespace App\Models;
|
<?php namespace App\Models;
|
||||||
|
|
||||||
|
use Auth;
|
||||||
|
use Eloquent;
|
||||||
|
use Utils;
|
||||||
|
|
||||||
class EntityModel extends Eloquent
|
class EntityModel extends Eloquent
|
||||||
{
|
{
|
||||||
protected $softDelete = true;
|
protected $softDelete = true;
|
||||||
|
@ -1,24 +1,12 @@
|
|||||||
<?php namespace App\Models;
|
<?php namespace App\Models;
|
||||||
|
|
||||||
use Eloquent;
|
use Eloquent;
|
||||||
// use Illuminate\Auth\UserInterface;
|
use Utils;
|
||||||
// use Illuminate\Auth\Reminders\RemindableInterface;
|
|
||||||
use Zizaco\Confide\ConfideUser;
|
use Zizaco\Confide\ConfideUser;
|
||||||
|
|
||||||
// use Illuminate\Auth\Authenticatable;
|
|
||||||
// use Illuminate\Auth\Passwords\CanResetPassword;
|
|
||||||
// use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
|
|
||||||
// use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract;
|
|
||||||
|
|
||||||
|
|
||||||
// use Zizaco\Confide\ConfideUser;
|
|
||||||
use Zizaco\Confide\ConfideUserInterface;
|
use Zizaco\Confide\ConfideUserInterface;
|
||||||
|
|
||||||
class User extends Eloquent implements ConfideUserInterface {
|
class User extends Eloquent implements ConfideUserInterface {
|
||||||
|
|
||||||
// class User extends ConfideUser implements UserInterface, RemindableInterface {
|
|
||||||
|
|
||||||
// use Authenticatable, CanResetPassword;
|
|
||||||
use ConfideUser;
|
use ConfideUser;
|
||||||
|
|
||||||
protected $softDelete = true;
|
protected $softDelete = true;
|
||||||
@ -48,12 +36,12 @@ class User extends Eloquent implements ConfideUserInterface {
|
|||||||
|
|
||||||
public function account()
|
public function account()
|
||||||
{
|
{
|
||||||
return $this->belongsTo('Account');
|
return $this->belongsTo('App\Models\Account');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function theme()
|
public function theme()
|
||||||
{
|
{
|
||||||
return $this->belongsTo('Theme');
|
return $this->belongsTo('App\Models\Theme');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPersonType()
|
public function getPersonType()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user