Dumplie\Customer\Application\Command\CreateCart::uuid PHP 메소드

uuid() 공개 메소드

public uuid ( ) : string
리턴 string
    public function uuid() : string
    {
        return $this->uuid;
    }

Usage Example

예제 #1
0
 /**
  * @param CreateCart $command
  *
  * @throws \Exception
  */
 public function handle(CreateCart $command)
 {
     $this->carts->add(new Cart(new CartId($command->uuid()), $command->currency()));
 }