name = $name; } public function render() { return view("layouts.{$this->name}"); } }