PHP 클래스 LazyRecord\TableParser\BaseTableParser

파일 보기 프로젝트 열기: corneltek/lazyrecord

보호된 프로퍼티들

프로퍼티 타입 설명
$config
$connection LazyRecord\Connection
$driver LazyRecord\QueryDriver

공개 메소드들

메소드 설명
__construct ( PDO $connection, BaseDriver $driver )
getTableSchemaMap ( ) Find all user-defined schema.
getTables ( ) : string[] Implements the query to parse table names from database.
reverseTableSchema ( $table, $referenceSchema = null ) : DeclareSchema[string Implements the logic to reverse table definition to DeclareSchema object.
typenameToIsa ( $typeName )

메소드 상세

__construct() 공개 메소드

public __construct ( PDO $connection, BaseDriver $driver )
$connection PDO
$driver SQLBuilder\Driver\BaseDriver

getTableSchemaMap() 공개 메소드

This is not used right now.
public getTableSchemaMap ( )

getTables() 추상적인 공개 메소드

Implements the query to parse table names from database.
abstract public getTables ( ) : string[]
리턴 string[] table names

reverseTableSchema() 추상적인 공개 메소드

Implements the logic to reverse table definition to DeclareSchema object.
abstract public reverseTableSchema ( $table, $referenceSchema = null ) : DeclareSchema[string
리턴 lazyrecord\schema\DeclareSchema[string

typenameToIsa() 공개 메소드

public typenameToIsa ( $typeName )

프로퍼티 상세

$config 보호되어 있는 프로퍼티

protected $config

$connection 보호되어 있는 프로퍼티

protected Connection,LazyRecord $connection
리턴 LazyRecord\Connection

$driver 보호되어 있는 프로퍼티

protected QueryDriver,LazyRecord $driver
리턴 LazyRecord\QueryDriver