Welcome Guest, Not a member yet? Register   Sign In
What are the CI4 ways to use Database and Library in a Helper?
#5

(08-15-2019, 11:41 AM)webdevron Wrote: Again I am little bit confused about Service. I have read through the docs but still not clear about understanding "What is service?".

In CIv4 a Service is a type of factory to create new instances of the desired class. In other words, think of it as a kind of "helper" to load and instantiate a class. If you haven't already, read the v4 Documentation - Services info here
Reply


Messages In This Thread
RE: What are the CI4 ways to use Database and Library in a Helper? - by dave friend - 08-15-2019, 12:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB