/** * Fetch link by url * * @param $url * * @return mixed */ public function byUrl($url) { return Link::whereUrl($url)->first(); }