After update I've got a little problem:
Call to undefined method Myth\Auth\Entities\User::getAvatar()
Im just trying to echo it in controller App\Controllers\Page
Thanks in advance for any help.
App\Entities\User
PHP Code:
<?php namespace App\Entities;
use Myth\Auth\Entities\User as MythUser;
class User extends MythUser
{
/**
* Default attributes.
* @var array
*/
protected $attributes = [
'user_info' => ''
];
/**
* getEmail address
*
* @return void
*/
public function getEmail()
{
return trim($this->attributes['email']);
}
/**
* getAvatar
*
* @return void
*/
public function getAvatar()
{
/* */
}