Method | Description | |
---|---|---|
__construct ( string $name, array $fields ) | ||
getDefinitions ( array $excluded = [] ) : array | ||
getFieldDefinition ( string $fieldName ) : Dumplie\Metadata\Schema\FieldDefinition | ||
name ( ) : string |
Method | Description | |
---|---|---|
addFieldDefinition ( string $fieldName, Dumplie\Metadata\Schema\FieldDefinition $type ) |
public __construct ( string $name, array $fields ) | ||
$name | string | |
$fields | array |
public getDefinitions ( array $excluded = [] ) : array | ||
$excluded | array | |
return | array |
public getFieldDefinition ( string $fieldName ) : Dumplie\Metadata\Schema\FieldDefinition | ||
$fieldName | string | |
return | Dumplie\Metadata\Schema\FieldDefinition |