public function getShortUrlParams($shortUrlId)
{
try {
$result = $this->getShortUrlCollection()->findOne(['shortUrlId' => $shortUrlId], ['_id' => false]);
if (!$result) {
return null;
}
$result['query'] = unserialize($result['query']);
return $result;
} catch (MongoException $e) {
return null;
}
}