/** * Get the key for comparing against the parent key in "has" query. * * @return string * @static */ public static function getHasCompareKey() { //Method inherited from \Illuminate\Database\Eloquent\Relations\HasOneOrMany return \Illuminate\Database\Eloquent\Relations\HasMany::getHasCompareKey(); }