/** * Get the key value of the parent's local key. * * @return mixed * @static */ public static function getParentKey() { //Method inherited from \Illuminate\Database\Eloquent\Relations\HasOneOrMany return \Illuminate\Database\Eloquent\Relations\HasMany::getParentKey(); }