Archived
1
0
Fork 0
Commit graph

4 commits

Author SHA1 Message Date
9dd712045a app/library/Services.php: adding debugger service. 2018-06-18 20:03:21 +02:00
e85d935734 Create a Bootstrap class and move bootstrap code from public/index.php 2018-06-18 17:42:30 +02:00
b3254e1f6c app/library/Services.php: database: no need for $di in closure. 2018-06-18 17:39:42 +02:00
f9050181d0 app/library/Bootstrap.php: revove "Application" and add "Services" class with the services definitions.
Had some wierd problem with closures an $this when being defined in one class and used in another
(defined in Application, used in Phalcon\Di\FactoryDefault).

So we move all of this to "Services" class that directly extends FactoryDefault DI.
And therefore, we don't need a Application class anymore.
2018-06-18 16:46:40 +02:00
Renamed from app/library/Application.php (Browse further)