class BindingResolver

Properties

static protected array $booted
static protected array $columns
static protected PhpDocParser|null $docParser
static protected Lexer|null $lexer

Methods

static array
resolveTypeAndKey(string $routable, string|null $key)

Resolve the type and binding key for a routable class.

static array
getColumns(Model $model)

Return column metadata for the model, falling back to docblock parsing.

static array
parseDocBlock(Model $model)

Extract column metadata from the model's class-level docblock.

static PhpDocParser
initDocParser()

Build a configured PhpDoc parser instance.

static Lexer
initLexer()

Build a configured PhpDoc lexer instance.

static ParserConfig
getParserConfig()

Return the shared PhpDoc parser configuration.

static void
flushState()

Flush all static state.

Details

at line 34
static array resolveTypeAndKey(string $routable, string|null $key)

Resolve the type and binding key for a routable class.

Parameters

string $routable
string|null $key

Return Value

array

at line 57
static protected array getColumns(Model $model)

Return column metadata for the model, falling back to docblock parsing.

Parameters

Model $model

Return Value

array

at line 69
static protected array parseDocBlock(Model $model)

Extract column metadata from the model's class-level docblock.

Parameters

Model $model

Return Value

array

at line 104
static protected PhpDocParser initDocParser()

Build a configured PhpDoc parser instance.

Return Value

PhpDocParser

at line 116
static protected Lexer initLexer()

Build a configured PhpDoc lexer instance.

Return Value

Lexer

at line 124
static protected ParserConfig getParserConfig()

Return the shared PhpDoc parser configuration.

Return Value

ParserConfig

at line 132
static void flushState()

Flush all static state.

Return Value

void