Ejemplo n.º 1
0
 public function __construct(LaunderInterface $client)
 {
     $this->pickupAddress = $client->getClientAddress();
     $this->currentAddress = $this->pickupAddress;
     $this->client = $client;
     $this->money = 0;
 }
Ejemplo n.º 2
0
 public function sendMessage($message, LaunderInterface $launder)
 {
     $this->laundry = $launder->getMessage('Can you get my clothes laundered, please', $this);
     return $this->laundry;
 }