public function inflect(ICommand $command)
    {
        $tmpClass = str_replace('Domain', 'Application', get_class($command));
        $handlerClass = str_replace('Command', 'Handler', $tmpClass);

        return $handlerClass;
    }
public function inflect(ICommand $command)
    {
        $tmpClass = str_replace('Domain', 'Application', get_class($command));
        $handlerClass = str_replace('Command', 'Handler', $tmpClass);

        return $handlerClass;
    }
public function inflect ( ICommand $ command ) { $ tmpClass = str_replace ( 'Domain' , 'Application' , get_class ( $ command ) ) ; $ handlerClass = str_replace ( 'Command' , 'Handler' , $ tmpClass ) ; return $ handlerClass ; }
Map a Handler Class for corresponding Command

@param Command $command
@return string
Map a Handler Class for corresponding Command