The default User Model in Laravel 4.2 implements both UserInterface and RemindableInterface but upon looking the definition of my User model, those methods defined on both interfaces are not implemented on the User model.
use Illuminate\Auth\UserTrait;
use Illuminate\Auth\UserInterface;
use Illuminate\Auth\Reminders\RemindableTrait;
use Illuminate\Auth\Reminders\RemindableInterface;
class User extends Eloquent implements UserInterface, RemindableInterface {
use UserTrait, RemindableTrait;
/**
* The database table used by the model.
*
* @var string
*/
protected $table = 'users';
/**
* The attributes excluded from the model's JSON form.
*
* @var array
*/
protected $hidden = array('password', 'remember_token');
}
How come it doesn't throw any errors when those methods defined on those two interfaces are not implemented by the User class?