Neos\Flow\Cli\CommandController::resolveCommandMethodName PHP Method

resolveCommandMethodName() protected method

Note: The resulting command method name might not have the correct case, which isn't a problem because PHP is case insensitive regarding method names.
protected resolveCommandMethodName ( ) : string
return string Method name of the current command
    protected function resolveCommandMethodName()
    {
        $commandMethodName = $this->request->getControllerCommandName() . 'Command';
        if (!is_callable([$this, $commandMethodName])) {
            throw new NoSuchCommandException(sprintf('A command method "%s()" does not exist in controller "%s".', $commandMethodName, get_class($this)), 1300902143);
        }
        return $commandMethodName;
    }