/** * Find a link by it's hash * @param $hash * @return mixed */ public function byHash($hash) { return $this->model->whereHash($hash)->first(); }