for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Sylius\ShopApiPlugin\Command;
use Webmozart\Assert\Assert;
final class RemoveCoupon
{
/**
* @var string
*/
private $orderToken;
* @param string $orderToken
public function __construct($orderToken)
Assert::string($orderToken);
$this->orderToken = $orderToken;
}
* @return string
public function orderToken()
return $this->orderToken;