classAssignToKeycacheWithTableIdentCacheKeysSpec_c5871e0f
final class AssignToKeycacheWithTableIdentCacheKeysSpec_c5871e0f
implements AssignToKeycacheForm, KeycacheListForm, KeycacheListOrPartsForm
uses Assertion
Public API: explicitly declared with
@visibility public.The assign_to_keycache SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\AssignToKeycacheWithTableIdentCacheKeysSpec_c5871e0f $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public TableIdentForm $tableIdentpublic CacheKeysSpecForm $cacheKeysSpecpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public TableIdentForm $tableIdent,
public CacheKeysSpecForm $cacheKeysSpec,
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
$tableIdent | TableIdentForm | |
$cacheKeysSpec | CacheKeysSpecForm | |
$comments | Comments |
Calls 3
- new Comments line 25
- method-call AssignToKeycacheWithTableIdentCacheKeysSpec_c5871e0f::assert() line 27
- static-call Contracts::contains() line 27
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 3
- method-call Writer::comments() line 36
- method-call TableIdentForm::write() line 37
- method-call CacheKeysSpecForm::write() line 39
public function withTableIdent(TableIdentForm $tableIdent): selfReturns a copy with a new tableIdent, preserving every other field.
Parameters
$tableIdent | TableIdentForm |
Returns
selfCalls 1
- new
selfline 47
public function withCacheKeysSpec(CacheKeysSpecForm $cacheKeysSpec): selfReturns a copy with a new cacheKeysSpec, preserving every other field.
Parameters
$cacheKeysSpec | CacheKeysSpecForm |
Returns
selfCalls 1
- new
selfline 55