Welcome Guest, Not a member yet? Register   Sign In
Is it possible to override a "services" function from module code?
#1

In other words should \acme\Blog\Config\Services::logger() be able to override \CodeIgniter\Config\Services::logger() ?

Obviously $psr4 in Config\Autoload needs to have the acme\Blog namespace set up. But what else, if anything, needs to be provided for the override to happen?

Config\Modules is unchanged from the way it is distributed.
Reply


Messages In This Thread
Is it possible to override a "services" function from module code? - by dave friend - 03-24-2020, 06:15 PM



Theme © iAndrew 2016 - Forum software by © MyBB