I reverted  back to laravel/framework": "dev-master#846c935194a036901ba6b4397c8897fa51e19111 but the env method in this commit is not found. It works if I just the $_ENV variable instead though.

Anyone know how to get env() working on this commit?