So let's say that in my controller inside some of my methods I want to return a view like this:
return $this->render('home', [
'model' => $model,
]);
In my doc block, I want to document what this method is returning. I do not know how to document that this method is returning a view. Is that a resource ? Is it mixed ?
Is this valid? :
@return resource
And how do you document that your method is returning redirect to some other page ?