src/Mremi/UrlShortener/Model/LinkManager.php
public function findOneByProviderAndShortUrl($providerName, $shortUrl)
    {
        $provider = $this->chainProvider->getProvider($providerName);

        $link = $this->create();
        $link->setProviderName($provider->getName());
        $link->setShortUrl($shortUrl);

        $provider->expand($link);

        return $link;
    }
public function findOneByProviderAndShortUrl($providerName, $shortUrl)
    {
        $provider = $this->chainProvider->getProvider($providerName);

        $link = $this->create();
        $link->setProviderName($provider->getName());
        $link->setShortUrl($shortUrl);

        $provider->expand($link);

        return $link;
    }
{@inheritdoc}