How to unload a library in Codeigniter

sachin
edited June 2021 in Codeigniter


Tagged:

Best Answer

  • sachin
    Accepted Answer

    You can simply unset the instance by using unset or setting the value as null.

    unset($this->my_library);
    

    or

    $this->my_library = null;
    


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!