PHP 클래스 LeanMapper\DefaultMapper

저자: Vojtěch Kohout
상속: implements leanmapper\IMapper
파일 보기 프로젝트 열기: tharos/leanmapper 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$defaultEntityNamespace string
$relationshipTableGlue string

공개 메소드들

메소드 설명
getColumn ( $entityClass, $field ) *
getEntityClass ( $table, Row $row = null ) *
getEntityField ( $table, $column ) *
getImplicitFilters ( $entityClass, Caller $caller = null ) *
getPrimaryKey ( $table ) *
getRelationshipColumn ( $sourceTable, $targetTable ) *
getRelationshipTable ( $sourceTable, $targetTable ) *
getTable ( $entityClass ) *
getTableByRepositoryClass ( $repositoryClass ) *

보호된 메소드들

메소드 설명
trimNamespace ( $class ) : string Trims namespace part from fully qualified class name

메소드 상세

getColumn() 공개 메소드

*
public getColumn ( $entityClass, $field )

getEntityClass() 공개 메소드

*
public getEntityClass ( $table, Row $row = null )
$row Row

getEntityField() 공개 메소드

*
public getEntityField ( $table, $column )

getImplicitFilters() 공개 메소드

*
public getImplicitFilters ( $entityClass, Caller $caller = null )
$caller Caller

getPrimaryKey() 공개 메소드

*
public getPrimaryKey ( $table )

getRelationshipColumn() 공개 메소드

*
public getRelationshipColumn ( $sourceTable, $targetTable )

getRelationshipTable() 공개 메소드

*
public getRelationshipTable ( $sourceTable, $targetTable )

getTable() 공개 메소드

*
public getTable ( $entityClass )

getTableByRepositoryClass() 공개 메소드

*
public getTableByRepositoryClass ( $repositoryClass )

trimNamespace() 보호된 메소드

Trims namespace part from fully qualified class name
protected trimNamespace ( $class ) : string
$class
리턴 string

프로퍼티 상세

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

protected string $defaultEntityNamespace
리턴 string

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

protected string $relationshipTableGlue
리턴 string