classJsonArgumentsWithJsonArgumentsJsonArgument_9b9d8d39
final class JsonArgumentsWithJsonArgumentsJsonArgument_9b9d8d39
implements JsonArgumentsForm
uses Assertion
Public API: explicitly declared with
@visibility public.The json_arguments SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\JsonArgumentsWithJsonArgumentsJsonArgument_9b9d8d39 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public JsonArgumentsForm $jsonArgumentspublic JsonArgumentForm $jsonArgumentpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public JsonArgumentsForm $jsonArguments,
public JsonArgumentForm $jsonArgument,
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
$jsonArguments | JsonArgumentsForm | |
$jsonArgument | JsonArgumentForm | |
$comments | Comments |
Calls 3
- new Comments line 25
- method-call JsonArgumentsWithJsonArgumentsJsonArgument_9b9d8d39::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 4
- method-call Writer::comments() line 36
- method-call JsonArgumentsForm::write() line 37
- method-call Writer::append() line 39
- method-call JsonArgumentForm::write() line 41
public function withJsonArguments(JsonArgumentsForm $jsonArguments): selfReturns a copy with a new jsonArguments, preserving every other field.
Parameters
$jsonArguments | JsonArgumentsForm |
Returns
selfCalls 1
- new
selfline 49
public function withJsonArgument(JsonArgumentForm $jsonArgument): selfReturns a copy with a new jsonArgument, preserving every other field.
Parameters
$jsonArgument | JsonArgumentForm |
Returns
selfCalls 1
- new
selfline 57