PHP Class Dumplie\Metadata\Schema

Mostra file Open project: dumplie/dumplie Class Usage Examples

Public Methods

Method Description
__construct ( string $name )
add ( TypeSchema $typeSchema )
get ( string $typeName ) : TypeSchema
name ( ) : string
types ( ) : array

Method Details

__construct() public method

public __construct ( string $name )
$name string

add() public method

public add ( TypeSchema $typeSchema )
$typeSchema Dumplie\Metadata\Schema\TypeSchema

get() public method

public get ( string $typeName ) : TypeSchema
$typeName string
return Dumplie\Metadata\Schema\TypeSchema

name() public method

public name ( ) : string
return string

types() public method

public types ( ) : array
return array