Symfony - Check if controller exists

Viewed 1262

My situation: I have a NavigatorController which is triggered by AJAX requests, and will

$this->forward("controllername")

the request. But how can I check if the controller exists based on controller name? Of course, BEFORE the actual forward happens and throws an error when the page controller does not exists.

2 Answers
Related