PHP Class LazyRecord\Schema\SchemaLoader

显示文件 Open project: corneltek/lazyrecord Class Usage Examples

Public Properties

Property Type Description
$schemas

Public Methods

Method Description
load ( string $class ) : LazyRecord\Schema\RuntimeSchema Load or create schema object and cache it.
loadDeclaredSchemas ( ) : array Returns declared schema objects.
loadSchemaTableMap ( ) : DeclareSchema[]

Method Details

load() public static method

Load or create schema object and cache it.
public static load ( string $class ) : LazyRecord\Schema\RuntimeSchema
$class string Schema class naem
return LazyRecord\Schema\RuntimeSchema

loadDeclaredSchemas() public static method

Returns declared schema objects.
public static loadDeclaredSchemas ( ) : array
return array Schema objects

loadSchemaTableMap() public static method

public static loadSchemaTableMap ( ) : DeclareSchema[]
return DeclareSchema[] Return declared schema object in associative array

Property Details

$schemas public_oe static_oe property

public static $schemas