Updated for illuminate/view 4.2

- 4.2 uses 'Factory' instead of ‘Environment’ to be more descriptive.