I want to call a function in another controller from the controller.
class FirstController extends Controller {
public function test1() { return 'OK'; }
}
class SecondController extends Controller {
public function callTest1() { First::test1(); }
}
--> server error
Help me resolve it.