Referencing

in this code:

public class document()
{
     public function document()
     {
        _model = new Model();
       _controller=new controller(_model);
       _view= new view(_model_controller)
     }
}

what am i doing when i give one class a reference to another?