Doctrine integration |
Hi,
I'm trying to integrate doctrine 2.6.4 with CI 4. Doctrine was installed via composer. App/Libraries/Doctrine.php Code: <?php App/Doctrine.php Code: <?php Everything is working with the console i can render Entities via YML Mappings so everything is connected to my db and so on Then i'm just calling doctrine in the Base controller in CI 3 i was using the load->library Quote:require APPPATH.'/Libraries/Doctrine.php'; And here is the problem i can't initiate the entityManager i tried in different way but im all the time getting a undefined property or undefinedclass : PHP Code: <?php namespace App\Controllers; I know it's maybe complicated or me who's missing something but would be amazing any kind of help, a lot of users of CI are using doctrine as an orm and would really help me for my future project |
Messages In This Thread |
Doctrine integration - by ScientiFist - 11-16-2019, 08:26 PM
RE: Doctrine integration - by MGatner - 11-17-2019, 04:39 AM
RE: Doctrine integration - by InsiteFX - 11-17-2019, 04:50 AM
RE: Doctrine integration - by ScientiFist - 11-17-2019, 05:58 PM
RE: Doctrine integration - by MGatner - 11-17-2019, 05:10 AM
RE: Doctrine integration - by MGatner - 11-18-2019, 05:31 AM
RE: Doctrine integration - by ScientiFist - 11-18-2019, 10:34 AM
RE: Doctrine integration - by jasonzig - 11-29-2019, 08:20 AM
RE: Doctrine integration - by MGatner - 11-18-2019, 04:24 PM
RE: Doctrine integration - by ScientiFist - 11-26-2019, 06:29 PM
RE: Doctrine integration - by ScientiFist - 11-30-2019, 07:25 AM
RE: Doctrine integration - by MGatner - 12-01-2019, 05:36 AM
RE: Doctrine integration - by troturier - 12-06-2019, 06:28 AM
RE: Doctrine integration - by ScientiFist - 03-17-2020, 07:06 PM
RE: Doctrine integration - by foxbille - 05-10-2024, 11:51 PM
RE: Doctrine integration - by kenjis - 05-11-2024, 02:17 AM
RE: Doctrine integration - by foxbille - 05-11-2024, 05:24 AM
RE: Doctrine integration - by kenjis - 05-13-2024, 06:57 PM
RE: Doctrine integration - by foxbille - 05-18-2024, 09:14 AM
|