inklabs / kommerce-core

PHP shopping cart core platform
https://kommerce-laravel-demo.jamieisaacs.com/
Apache License 2.0
65 stars 14 forks source link

Change all use case Actions to require a string ID instead of UuidInterface #42

Closed pdt256 closed 8 years ago

pdt256 commented 8 years ago

This will make the core application easier to consume. The end users will only have to work with UUIDs strings (hex or full string) instead of using an object that implements UuidInterface.

Order/Query/GetOrderRequest.php: public function __construct(UuidInterface $orderId)

becomes:

Order/Query/GetOrderRequest.php: public function __construct(string $orderIdString)