PHP Class Dumplie\Metadata\Metadata

Afficher le fichier Open project: dumplie/dumplie Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( MetadataId $id, string $typeSchemaName, array $fields = [] )
__get ( string $name ) : mixed
__isset ( string $name ) : boolean
__set ( string $name, $value )
fields ( ) : array
id ( ) : MetadataId
isValid ( TypeSchema $definition ) : boolean
typeSchemaName ( ) : string

Method Details

__construct() public méthode

public __construct ( MetadataId $id, string $typeSchemaName, array $fields = [] )
$id MetadataId
$typeSchemaName string
$fields array

__get() public méthode

public __get ( string $name ) : mixed
$name string
Résultat mixed

__isset() public méthode

public __isset ( string $name ) : boolean
$name string
Résultat boolean

__set() public méthode

public __set ( string $name, $value )
$name string
$value

fields() public méthode

public fields ( ) : array
Résultat array

id() public méthode

public id ( ) : MetadataId
Résultat MetadataId

isValid() public méthode

public isValid ( TypeSchema $definition ) : boolean
$definition Dumplie\Metadata\Schema\TypeSchema
Résultat boolean

typeSchemaName() public méthode

public typeSchemaName ( ) : string
Résultat string