Stud.IP  5.4
SchemaContainer Class Reference
Inheritance diagram for SchemaContainer:

Public Member Functions

 register (string $type, $schema)
 

Protected Member Functions

 createSchemaFromCallable (callable $callable)
 
 hasProviderMapping (string $type)
 
 getProviderMapping (string $type)
 

Member Function Documentation

◆ createSchemaFromCallable()

createSchemaFromCallable ( callable  $callable)
protected
Parameters
callable$callable
Returns
SchemaInterface

◆ getProviderMapping()

getProviderMapping ( string  $type)
protected
Parameters
string$type
Returns
mixed

◆ hasProviderMapping()

hasProviderMapping ( string  $type)
protected
Parameters
string$type
Returns
bool

◆ register()

register ( string  $type,
  $schema 
)

The original SchemaContainer does not like mappings of interfaces to schemas. So this method now allows classes and interfaces.


The documentation for this class was generated from the following file: