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