Hi, I have a basic php project that stems for long now, was wondering how I could autoload the classes. I have tried to no avail, the helper functions load but when I run for example geoip()->getLocation(), I get undefined function app(). Equally when I use the class, I getClass 'Torann\GeoIP'. Any help would be greatly appreciated thanks
Hi, I have a basic php project that stems for long now, was wondering how I could autoload the classes. I have tried to no avail, the helper functions load but when I run for example
geoip()->getLocation()
, I get undefined function app(). Equally when I use the class, I getClass 'Torann\GeoIP'
. Any help would be greatly appreciated thanks