Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

call model function in controller laravel

$model = new Model;
$model->func();
__________________________________
  or 
Model::func() // this function must be static to call it staticly ..  
 
PREVIOUS NEXT
Tagged: #call #model #function #controller #laravel
ADD COMMENT
Topic
Name
9+7 =