classCallModel
final class CallModel
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Registers Laravel call semantics through the framework-neutral model API.
Methods§
public function __construct(
private ModelContext $context,
private Dialects $dialects = new \SqlCatalog\Core\Sql\Dialects(),
)Creates fresh allocation state for this analysis and uses its shared callback runner.
Parameters
$context | ModelContext | |
$dialects | Dialects |
Calls 3
- new Dialects line 25
- new BuilderCalls line 27
- new CallbackModel line 27
public function evaluate(CallContext $call): ?DomainA Laravel factory, mutation or execution result; null leaves other APIs to the core.
Parameters
$call | CallContext |
Returns
Called from 1
Calls 13
- static-call Domain::of() line 39
- new ObjectTerm line 39
- class-const ModelMetadata::MODEL() line 39
- method-call QueryState::array() line 39
- new QueryState line 39
- static-call Domain::literal() line 39
- method-call BuilderCalls::execution() line 41
- function-call
strtolowerline 41 - method-call BuilderCalls::methodCall() line 48
- method-call BuilderCalls::staticCall() line 50
- method-call BuilderCalls::positional() line 53
- function-call
array_valuesline 53 - method-call BuilderCalls::unsupported() line 54
public function matchesClass(string $class, string $expected): boolFramework inheritance known without scanning Illuminate's source tree.
Parameters
$class | string | |
$expected | string |
Returns
boolCalled from 1
Calls 5
- class-const BuilderCalls::CONNECTION() line 63
- method-call BuilderCalls::isConnection() line 63
- class-const ModelMetadata::MODEL() line 64
- method-call ModelMetadata::recognizes() line 64
- new ModelMetadata line 64
Private surface 3§
Implementation details, listed for orientation only.
private BuilderCalls $buildersprivate ModelContext $contextprivate Dialects $dialects = new \SqlCatalog\Core\Sql\Dialects()Test cases 6§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
CallModelTestcalls
Other tests reaching this symbol 5
CallbackEffectsTestcallsBuilderQueriesTestcallsCallbackModelTestcallsLaravelExtensionTestcallsAnalyzerTestcalls