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 GenerateVerificationToken
{
/**
* @var string
*/
private $email;
* @param string $email
public function __construct($email)
Assert::string($email, 'Email should be string, got %s');
$this->email = $email;
}
* @return string
public function email()
return $this->email;