private function detectPool(CommandInterface $command)
    {
        $commandClass = get_class($command);
        return $this->poolDetector->detect($commandClass);
    }
private function detectPool(CommandInterface $command)
    {
        $commandClass = get_class($command);
        return $this->poolDetector->detect($commandClass);
    }
private function detectPool ( CommandInterface $ command ) { $ commandClass = get_class ( $ command ) ; return $ this -> poolDetector -> detect ( $ commandClass ) ; }
Detect correct pool for given command.

@param CommandInterface $command
@return string
Detect correct pool for given command .