public static emptySku ( ) : |
||
return |
/** * @param string $code * * @throws InvalidArgumentException */ public function __construct(string $code) { if (empty($code)) { throw InvalidArgumentException::emptySku(); } $this->code = $code; }