File tree Expand file tree Collapse file tree 2 files changed +19
-4
lines changed
Expand file tree Collapse file tree 2 files changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -304,9 +304,13 @@ Understanding the differences between single mode and multi mode in Lucee.
304304
305305Lucee supports two types of Startup Listeners: Server.cfc and Web.cfc.
306306
307- ## [ Static scope in components ] ( /docs/recipes/static-scope-in-components .md )
307+ ## [ Mocking Static Functions in Lucee ] ( /docs/recipes/static-mocking .md )
308308
309- Static scope in components is needed to create an instance of cfc and call its method.
309+ How to mock static functions in Lucee for better testability without unnecessary wrappers.
310+
311+ ## [ Static Scope in Components] ( /docs/recipes/static-scope-in-components.md )
312+
313+ Understanding the static scope in Lucee components and how it can be used for shared data and functions.
310314
311315## [ Sub Components] ( /docs/recipes/sub-components.md )
312316
Original file line number Diff line number Diff line change 10701070 " hooks"
10711071 ]
10721072 },
1073+ {
1074+ "file" : " static-mocking.md" ,
1075+ "title" : " Mocking Static Functions in Lucee" ,
1076+ "path" : " /docs/recipes/static-mocking.md" ,
1077+ "hash" : " a8039196ea8c67a5c6369c36eb6edaab" ,
1078+ "keywords" : [
1079+ " Static Functions" ,
1080+ " Mocking" ,
1081+ " Unit Testing"
1082+ ]
1083+ },
10731084 {
10741085 "file" : " static-scope-in-components.md" ,
1075- "title" : " Static scope in components " ,
1086+ "title" : " Static Scope in Components " ,
10761087 "path" : " /docs/recipes/static-scope-in-components.md" ,
1077- "hash" : " 4ef213604dc8a1abf5335bc1a1073a74 " ,
1088+ "hash" : " 02df94c5d6fcc91910129843d88c84e1 " ,
10781089 "keywords" : [
10791090 " Static scope" ,
10801091 " Components" ,
You can’t perform that action at this time.
0 commit comments