Welcome Guest, Not a member yet? Register   Sign In
[Myth Auth] php spark publish:auth, Entity probleme
#5

(This post was last modified: 09-11-2021, 03:08 AM by eelisland.)

Thanks it works as described in the link from my previous post

App\Entities\User
PHP Code:
<?php namespace App\Entities;

// use CodeIgniter\Entity;
// use Myth\Auth\Authorization\GroupModel;
// use Myth\Auth\Authorization\PermissionModel;
use Myth\Auth\Password;

use 
Myth\Auth\Entities\User as MythUser;

// class User extends Entity
class User extends MythUser
{
... 

App\Models\UserModel

PHP Code:
    protected $returnType 'App\Entities\User'//User::class; 


Maybe it can be a good thing if the publish script can take care of this
Reply


Messages In This Thread
RE: [Myth Auth] php spark publish:auth, Entity probleme - by eelisland - 09-10-2021, 04:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB