This object instructs Composer to automatically require
PHP files inside src
, which use the namespace
WPDTRT_Plugin
:
"autoload": {
"psr-4": {
"DoTheRightThing\WPPlugin\\": "src/"
}
}
// Package namespace
DoTheRightThing\WPPlugin\Shortcode
// Global namespace
\Gamajo_Template_Loader