classColumnAttributeWithStorageSymStorageMedia_c5c6ae18
final class ColumnAttributeWithStorageSymStorageMedia_c5c6ae18
implements ColumnAttributeForm, ColumnAttributeListForm, OptColumnAttributeListForm
uses Assertion
Public API: explicitly declared with
@visibility public.The column_attribute SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\ColumnAttributeWithStorageSymStorageMedia_c5c6ae18 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public StorageMediaForm $storageMediapublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public StorageMediaForm $storageMedia,
public Comments $comments = new \SqlSemantics\Statement\Comments(),
)Supplies the SQL values of this form; comments are kept by the position of the symbol each precedes.
Parameters
$storageMedia | StorageMediaForm | |
$comments | Comments |
Calls 3
- new Comments line 24
- method-call ColumnAttributeWithStorageSymStorageMedia_c5c6ae18::assert() line 26
- static-call Contracts::contains() line 26
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 3
- method-call Writer::comments() line 34
- method-call Writer::append() line 35
- method-call StorageMediaForm::write() line 37
public function withStorageMedia(StorageMediaForm $storageMedia): selfReturns a copy with a new storageMedia, preserving every other field.
Parameters
$storageMedia | StorageMediaForm |
Returns
selfCalls 1
- new
selfline 45