'required|string|email', 'name' => 'required|string|max:255', 'description' => 'nullable|string', ]; /** * Gets all eggs associated with this service. * * @return \Illuminate\Database\Eloquent\Relations\HasMany */ public function eggs() { return $this->hasMany(Egg::class); } /** * Gets all servers associated with this nest. * * @return \Illuminate\Database\Eloquent\Relations\HasMany */ public function servers() { return $this->hasMany(Server::class); } }