Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
when i print_r my info in database

class HomeController extends BaseController {
public function home(){

$user = User::find(2)->username;
echo print_r($user);
return View::make('home');
}
}


and its have a error Class User contains 3 abstract methods and must therefore be declared abstract or implement the remaining methods (Illuminate\Auth\UserInterface::getRememberToken, Illuminate\Auth\UserInterface::setRememberToken, Illuminate\Auth\UserInterface::getRememberTokenName)


"

C#
public function getReminderEmail()
    {
        return $this->email;
    }
"



i tried many times and find solution about this error, but i cant find any. thanks for helping in advance.
Posted
Updated 13-Feb-15 18:43pm
v4
Comments
ZurdoDev 13-Feb-15 14:16pm    
I understand the error but I have never heard of laravel. Is that a package of something? Do you have access to source code to fix the error?
Member 11111612 14-Feb-15 0:38am    
its a framework bro, this the tutorial link https://www.youtube.com/watch?v=ntUQGzgSkck&list=PLfdtiltiRHWGf_XXdKn60f8h9jjn_9QDp&index=6
Sergey Alexandrovich Kryukov 13-Feb-15 16:42pm    
What's unclear in this message? Declare it abstract.
—SA
Member 11111612 14-Feb-15 0:41am    
done bro.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900