Bånder

LaravelDataCollectionExtension extends TypeToSchemaExtension
in package
uses CastsDtoToSchema

Table of Contents

Methods

parametersFromDto()  : array<string|int, Parameter>
rulesFromDto()  : array<string, mixed>
rulesFromDtoNoRecursion()  : array<string, mixed>
schemaFromDto()  : Schema
shouldHandle()  : bool
toSchema()  : mixed
expandRules()  : array<string, mixed>
unwrapRules()  : array<string, mixed>

Methods

parametersFromDto()

public parametersFromDto(string $className) : array<string|int, Parameter>
Parameters
$className : string
Tags
throws
ReflectionException
Return values
array<string|int, Parameter>

rulesFromDto()

public rulesFromDto(string $className) : array<string, mixed>
Parameters
$className : string
Tags
throws
ReflectionException
Return values
array<string, mixed>

rulesFromDtoNoRecursion()

public rulesFromDtoNoRecursion(string $className) : array<string, mixed>
Parameters
$className : string
Tags
throws
ReflectionException
Return values
array<string, mixed>

schemaFromDto()

public schemaFromDto(string $className) : Schema
Parameters
$className : string
Return values
Schema

expandRules()

protected expandRules(NestedRules $rule[, string $parentKey = '' ]) : array<string, mixed>
Parameters
$rule : NestedRules
$parentKey : string = ''
Tags
throws
ReflectionException
Return values
array<string, mixed>

unwrapRules()

protected unwrapRules(array<string, mixed> $rules) : array<string, mixed>
Parameters
$rules : array<string, mixed>
Tags
throws
ReflectionException
Return values
array<string, mixed>

        
On this page

Search results