2023-11-09 10:03:35 +04:00
|
|
|
<?php
|
|
|
|
namespace nur\sery\schema\values;
|
|
|
|
|
|
|
|
class AssocValue implements IValue {
|
|
|
|
use TValue;
|
|
|
|
|
|
|
|
function isScalar(?ScalarValue &$scalar=null): bool { return false; }
|
2023-11-25 10:04:24 +04:00
|
|
|
function isList(?ListValue &$list=null): bool { return false; }
|
2023-11-09 10:03:35 +04:00
|
|
|
function isAssoc(?AssocValue &$assoc=null): bool { $assoc = $this; return true; }
|
|
|
|
|
|
|
|
function ensureKeys(): bool {
|
|
|
|
}
|
|
|
|
function orderKeys(): bool {
|
|
|
|
}
|
|
|
|
|
|
|
|
/** @param Result[] $results */
|
|
|
|
function verifix(bool $throw=true, ?array &$results=null): bool {
|
|
|
|
}
|
|
|
|
}
|