protected function initPromises($promisesTrait)
    {
        return $promisesTrait->findOne($this->createFindOneClosure())
            ->findMany($this->createFindManyClosure())
            ->renderResult($this->createRenderResultClosure())
            ->allowRequest($this->createAllowRequestClosure());
    }