Symfony\Component\Console\Application::getNamespaces
Returns an array of all unique namespaces used by currently registered commands.
It does not returns the global namespace which always exists.
Signature
public function getNamespaces()
Returns
- array
- An array of namespaces