1// Include the other controller in this controller
2use App\Http\Controllers\TasksController;
3
4// Instantiate other controller class in this controller's method
5$tasks_controller = new TasksController;
6// Use other controller's method in this controller's method
7$tasks_controller->postNotification($comment_content, $author);
8
1// Include the other controller in this controller
2use App\Http\Controllers\TasksController;
3
4// Instantiate other controller class in this controller's method
5$tasks_controller = new TasksController;
6// Use other controller's method in this controller's method
7$tasks_controller->postNotification($comment_content, $author);