get(); } /** * Will answer to Task::incomplete() too but know it is a query scope. * * @param $query * The existing query. * * @return mixed */ public function scopeIncomplete($query) { return $query->where('completed', 0); } }