---
title: "Discussion on \"Design-Patterns\" | Hashnode"
description: "Discussion on \"Design-Patterns\". Decorator Pattern:\nsuppose you want to have burgers with your friends The burger cost you $4 //initial price with initial burger structure or basic price basic burger structure but you want to add some extra things like , cheese , sauce , meat etc he..."
url: "https://hashnode.com/posts/design-patterns/66b8a75a72f077cd98f5b275"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Design-Patterns](https://php-basics-revisions.hashnode.dev/design-patterns?utm_source=hashnode&utm_medium=feed)

Decorator Pattern: suppose you want to have burgers with your friends The burger cost you $4 //initial price with initial burger structure or basic price basic burger structure but you want to add some extra things like , cheese , sauce , meat etc he...

Aug 11, 2024 · 2 min read · php-basics-revisions.hashnode.dev  
Read the article

-   [#design-patterns](https://hashnode.com/tag/design-patterns)
-   [#decorators](https://hashnode.com/tag/decorators)

## Written by

[mhdy hasan](https://hashnode.com/@Mhdy17)

@Mhdy17

  
[View profile](https://hashnode.com/@Mhdy17)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
