Revert "Added to View.php file"

This reverts commit 2d9166cda841549865cecbc8394822e35dff4b1d.