Laravel route not calling function of controller

PHP
//in the terminal run
composer dump-autoload
Source

Also in PHP: