diff --git a/src/pages/coding-standards/technical-guidelines.md b/src/pages/coding-standards/technical-guidelines.md index 236c1a841..91c01cb4e 100644 --- a/src/pages/coding-standards/technical-guidelines.md +++ b/src/pages/coding-standards/technical-guidelines.md @@ -522,6 +522,8 @@ You need to read configuration from different sources (like database or filesyst 6.2.5 Blocks MUST NOT assume that a specific, or any, controller has been invoked for current request. +6.2.6 Templates MUST NOT instantiate objects. All objects MUST be passed from the Block objects. + ### 6.3. Data Access (Persistence) layer 6.3.1. Entities MAY have fields scoped differently (in product, EAV --- per store, options --- per website).