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();
}
// ...
}
class A{} class B{public static function foo(A $obj){}} B::foo(new A()); B::foo("not A");
– Imbalance