SchemaLoader
in package
MongoDB Schemaに設定されたAttributeを読み込むクラス
Table of Contents
Properties
- $attributeSchema : ReflectionAttribute<string|int, SchemaMarkerInterface>|null
- $fieldLoaders : array<string, SchemaFieldLoader>
- $reflectionClass : ReflectionClass<string|int, object>
Methods
- __construct() : mixed
Properties
$attributeSchema
public
ReflectionAttribute<string|int, SchemaMarkerInterface>|null
$attributeSchema
$fieldLoaders
public
array<string, SchemaFieldLoader>
$fieldLoaders
key: fieldName, value: instance
$reflectionClass
public
ReflectionClass<string|int, object>
$reflectionClass
Methods
__construct()
public
__construct(ReflectionClass<string|int, object> $reflectionClass) : mixed
Parameters
- $reflectionClass : ReflectionClass<string|int, object>
-
MongoDB Schemaのクラス名を渡します