You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Devin Smith edited this page Feb 3, 2016
·
4 revisions
Each time a template is rendered, a new scope is created. This scope is accessible by the current template, and any template that it renders inside of it.
Single Scope
The display and render methods of View accept 2 parameters, the template filename, and an optional scope. Scope can also be accessed using Dependency Injection.