mercredi 2 décembre 2015

Call method on parent controller?

I extend a controller that has a method:

show($id){
    //do something
}

In my extended controller I override the show method:

show($id){
    //do something else
}

How can I call the show method on the parent controller?

show($id){
    if($id == 1) //go to show method on parent controller
} 



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1Q0C7Ep
via IFTTT

Aucun commentaire:

Enregistrer un commentaire