How do I pass a multiple variable into a view and how do I get it?

supposing i have a two variable 

```
$dateFrom = 2016-02-22
$dateTo = 2016-02-25

am i doing right with my route?
 return View('admin.inventory-bloodCollectionView1')->with($dateFrom)->with($dateTo);   
and how do i get it from the view?

```