Nexus API Reference

CompileContext
in package

Read onlyYes
FinalYes
Tags
psalm-api

Compile-time context passed to ParamResolver::compile(). Tells the resolver which scope the parameter belongs to, who owns it (for error messages), and which services are wired (container, serializer, actor table).

isRequestBound() is the common gate: resolvers that need a request return null in HttpBoot scope and proceed otherwise.

Table of Contents

Properties

$owner  : string
$scope  : Scope
$services  : ResolverServices

Methods

__construct()  : mixed
isRequestBound()  : bool

Properties

Methods

isRequestBound()

public isRequestBound() : bool
Return values
bool

        
On this page

Search results