private function deviceRepository($persistenceStorage, $userAgentHandlerChain)
    {
        $devicePatcher = new WURFL_Xml_DevicePatcher();
        $deviceRepositoryBuilder = new WURFL_DeviceRepositoryBuilder($persistenceStorage, $userAgentHandlerChain, $devicePatcher);
        return $deviceRepositoryBuilder->build($this->wurflConfig->wurflFile, $this->wurflConfig->wurflPatches, $this->wurflConfig->capabilityFilter);
    }