public function resolveHandler($command)
    {
        if ($command instanceof SelfHandling) {
            return $command;
        }

        return $this->container->make($this->getHandlerClass($command));
    }
public function resolveHandler($command)
    {
        if ($command instanceof SelfHandling) {
            return $command;
        }

        return $this->container->make($this->getHandlerClass($command));
    }
public function resolveHandler ( $ command ) { if ( $ command instanceof SelfHandling ) { return $ command ; } return $ this -> container -> make ( $ this -> getHandlerClass ( $ command ) ) ; }
Get the handler instance for the given command.

@param mixed $command

@return mixed
Get the handler instance for the given command .