I have a PHP application with my mvc framework and it follows the following template:
Namespace Diretorio Desc
Nautilus\ root/Nautilus/src/Nautilus_Web/ Aplicação principal
Nautilus\Service root/Nautilus/src/Nautilus_Service/ Serviços
Nautilus\Domain root/Nautilus/src/Nautilus_Domain/ Modelos e repositórios
I am standardizing my project according to PHP-Fig and according to the documentation the namespace must correspond to the physical directory.
I wonder if standardization is being done the wrong way since Nautilus \ Service and Nautilus \ Domain should include the classes from the Nautilus namespace directory that would be:
root / Nautilus / src / Nautilus_Web /....
If my namespace calls Nautilus the physical directory should be:
root/Nautilus/src/Nautilus_Web/Nautilus
does not? or rename the namespace to Nautilus\Web
from the directory ... / src / Nautilus_Web would match, correct?
Thank you!