Start your All-Access Pass to unlock this challenge
Challenge 1 / 1
Suppose the following class exists:
class Bakery
{
public function bakeBread(string $type): Bread
{
// ...
}
}
How could we decorate this to do something after a bread is baked?
Skip challenges and go to theNext Chapter