private function getManagerForRequest(Request $request)
    {
        if (!$request->getManager()) {
            $request->setManager($this->managerList->get());
        }

        return $request->getManager();
    }