Welcome Guest, Not a member yet? Register   Sign In
Extending a framework (non-core) library
#6

In general, instead of instantiating CodeIgniter\Something\Whatever (any of the libraries), you would instantiate App\Libraries\Mything, which extends CodeIgniter\Something\Whatever.

Or, add your custom class to the classmap, replacing or surplanting the built-in one.

At least, that is my take on it Smile

It is good to be asking these questions, btw!
Reply


Messages In This Thread
RE: Extending a framework (non-core) library - by ciadmin - 09-16-2018, 02:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB