public function decode($short)
    {
        $ids = $this->hashids->decode($short);

        if (empty($ids)) {
            throw new \InvalidArgumentException;
        }

        return Shortener::findOrFail(reset($ids))->getAttribute('url');
    }
public function decode($short)
    {
        $ids = $this->hashids->decode($short);

        if (empty($ids)) {
            throw new \InvalidArgumentException;
        }

        return Shortener::findOrFail(reset($ids))->getAttribute('url');
    }
public function decode ( $ short ) { $ ids = $ this -> hashids -> decode ( $ short ) ; if ( empty ( $ ids ) ) { throw new \ InvalidArgumentException ; } return Shortener :: findOrFail ( reset ( $ ids ) ) -> getAttribute ( 'url' ) ; }
Get the origin url.

@param string $short

@return string
Get the origin url .