Concept Flow - PSR-4 directory mapping
Namespace Prefix
Map to Base Directory
Class Name
Remove Prefix from Class
Replace Namespace Separators with Directory Separators
Append .php Extension
Load File from Mapped Directory
PSR-4 maps a namespace prefix to a base directory. Class names are converted to file paths by removing the prefix, replacing namespace separators with directory separators, and adding .php.