• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Services

#3
@Piotr you were on the right track originally! PHP expects unspecified namespaces within classes to be relative to that class' namespace, hence why it was looking for "App\Models\Config\Services" in your model. As kilishan suggests, specifying the "\" prevents it from being relative and gets you to the right namespace.
Reply


Messages In This Thread
Services - by Piotr - 05-12-2019, 02:12 PM
RE: Services - by kilishan - 05-12-2019, 08:21 PM
RE: Services - by MGatner - 05-14-2019, 08:21 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.