Update LaravelView.php

Had to make backwards compatible