name = $name; } /** * Clients supply the context-dependent information that the flyweight needs to draw itself * For flyweights representing characters, extrinsic state usually contains e.g. the font * @param string $font */ public function draw($font) { print_r("Character {$this->name} printed $font \n"); } }