Symfony\Component\Console\Application::extractNamespace
Returns the namespace part of the command name.
This method is not part of public API and should not be used directly.
Signature
public function extractNamespace(string
$name,
[string
$limit = null] )
Parameters
$name
— string- The full name of the command
$limit
— string- The maximum number of parts of the namespace
Returns
- string
- The namespace of the command