final class OptAccountLockPasswordExpireOptionWithPasswordExpireIntervalSymRealUlongNumDaySym_3e685c22
    implements OptAccountLockPasswordExpireOptionForm, OptAccountLockPasswordExpireOptionListForm, OptAccountLockPasswordExpireOptionsForm
    uses Assertion
Public API: explicitly declared with @visibility public.

The opt_account_lock_password_expire_option SQL value; generated by bin/build-models.php.

Accept a structured SQL valuedoctest
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\OptAccountLockPasswordExpireOptionWithPasswordExpireIntervalSymRealUlongNumDaySym_3e685c22 $value): string => \SqlSemantics\Statement\Writer::render($value);
    $write instanceof \Closure // => true

Properties§

public PasswordExpireForm $passwordExpire
public RealUlongNumForm $realUlongNum
public string $daySym
public Comments $comments = new \SqlSemantics\Statement\Comments()

Methods§

public function __construct(
    public PasswordExpireForm $passwordExpire,
    public RealUlongNumForm $realUlongNum,
    public string $daySym,
    public Comments $comments = new \SqlSemantics\Statement\Comments(),
)
public function write(Writer $writer): void

Writes SQL entirely from this value's fields.

Parameters

$writerWriter
Calls 4
public function withPasswordExpire(PasswordExpireForm $passwordExpire): self

Returns a copy with a new passwordExpire, preserving every other field.

Parameters

$passwordExpirePasswordExpireForm

Returns

self
Calls 1
public function withRealUlongNum(RealUlongNumForm $realUlongNum): self

Returns a copy with a new realUlongNum, preserving every other field.

Parameters

$realUlongNumRealUlongNumForm

Returns

self
Calls 1
public function withDaySym(string $daySym): self

Returns a copy with a new daySym, preserving every other field.

Parameters

$daySymstring

Returns

self
Calls 1
public function withComments(Comments $comments): self

Returns a copy with a new comments, preserving every other field.

Parameters

$commentsComments

Returns

self
Calls 1