I am learning MVC in php. I saw following sample PHP MVC example
$model = new Model();
$controller = new Controller($model);
$view = new View($controller, $model); // $model already inside $controller!
If you notice the code, $controller object already contains $model.So the $view can access data $model via $controller.Then why we need to pass the $model object again along with $controller into $view? please help.