Welcome Guest, Not a member yet? Register   Sign In
Code Modules
#4

(06-24-2019, 02:33 PM)InsiteFX Wrote: Here you have a back slash then a forward slash.

PHP Code:
public $psr4 = ['Modules\Node' => ROOTPATH.'Modules/Node']; 

The '\' referencing a namespace, and the '/' is referencing a file path, so this is correct. I don't know if it's correct other than the context of namespaces and file paths as far as the rest of the script is concerned.
Reply


Messages In This Thread
Code Modules - by Nome - 06-24-2019, 08:31 AM
RE: Code Modules - by kilishan - 06-24-2019, 08:54 AM
RE: Code Modules - by Nome - 06-25-2019, 02:47 AM
RE: Code Modules - by InsiteFX - 06-24-2019, 02:33 PM
RE: Code Modules - by mladoux - 06-24-2019, 03:37 PM
RE: Code Modules - by InsiteFX - 06-25-2019, 04:33 AM
RE: Code Modules - by Nome - 06-25-2019, 05:32 AM
RE: Code Modules - by InsiteFX - 06-25-2019, 08:00 AM
RE: Code Modules - by Nome - 06-27-2019, 01:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB