public function __construct(Gateway $gateway, Mapper $mapper) { $this->gateway = $gateway; $this->mapper = $mapper; }