I mean if it’s called with $request which is not instance of sfWebRequest ,will it be fatal,or just a warning?
class jobActions extends sfActions
{
public function executeIndex(sfWebRequest $request)
{
$this->jobeet_job_list = Doctrine::getTable('JobeetJob')
->createQuery('a')
->execute();
}
// ...
}
It will be a catchable fatal error.
Here is an example:
If there wasn’t a
set_error_handlercall the code will fail with an error: