Selen

Nest
in package
implements AttributeMarkerInterface

Attributes
#[Attribute]
\Attribute::TARGET_PROPERTY

Table of Contents

Interfaces

AttributeMarkerInterface
Selen\MongoDBのAttributeとして識別するためのインターフェース。 Selen\MongoDBが提供するAttributeにはこのインターフェースを必ず実装すること。

Constants

TYPE_ARRAY_OBJECT  = 'arrayObject'
TYPE_OBJECT  = 'object'
TYPE_SCHEMAS  = [self::TYPE_OBJECT, self::TYPE_ARRAY_OBJECT]

Properties

$schemaClassName  : string
$type  : string

Methods

__construct()  : mixed

Constants

TYPE_ARRAY_OBJECT

public mixed TYPE_ARRAY_OBJECT = 'arrayObject'

TYPE_OBJECT

public mixed TYPE_OBJECT = 'object'

TYPE_SCHEMAS

private mixed TYPE_SCHEMAS = [self::TYPE_OBJECT, self::TYPE_ARRAY_OBJECT]

Properties

$schemaClassName

public string $schemaClassName

$type

public string $type

Methods

__construct()

public __construct(string $type, string $schemaClassName) : mixed
Parameters
$type : string
$schemaClassName : string

        
On this page

Search results