public function addQueryHandler(IQueryHandler $queryHandler)
    {
        $queryClassName = preg_replace('/(.*)Handler$/i', '$1', self::findBaseName($queryHandler));
        
        $this->queryHandlers[$queryClassName] = $queryHandler;
    }