return false;
} $id =
$this->
getIdentifier($request,
$options,
$name);
if (false ===
$id || null ===
$id) { return $id;
} if ($options->evictCache &&
$manager instanceof EntityManagerInterface
) { $cacheProvider =
$manager->
getCache();
if ($cacheProvider &&
$cacheProvider->
containsEntity($options->class,
$id)) { $cacheProvider->
evictEntity($options->class,
$id);
} } try { return $manager->
getRepository($options->class
)->
find($id);
} catch (NoResultException|ConversionException
) { return null;
} } private function getIdentifier(Request
$request, MapEntity
$options, string
$name): mixed
{