PHP Class Dumplie\Metadata\Metadata

Datei anzeigen Open project: dumplie/dumplie Class Usage Examples

Public Methods

Method 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 method

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

__get() public method

public __get ( string $name ) : mixed
$name string
return mixed

__isset() public method

public __isset ( string $name ) : boolean
$name string
return boolean

__set() public method

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

fields() public method

public fields ( ) : array
return array

id() public method

public id ( ) : MetadataId
return MetadataId

isValid() public method

public isValid ( TypeSchema $definition ) : boolean
$definition Dumplie\Metadata\Schema\TypeSchema
return boolean

typeSchemaName() public method

public typeSchemaName ( ) : string
return string