PHP 클래스 Bravo3\Orm\Mappers\Chained\ChainedMapper

상속: extends Bravo3\Orm\Mappers\AbstractMapper
파일 보기 프로젝트 열기: bravo3/orm

보호된 프로퍼티들

프로퍼티 타입 설명
$mappers Bravo3\Orm\Mappers\MapperInterface[]

공개 메소드들

메소드 설명
__construct ( array $mappers = [] )
getEntityMetadata ( string | object $entity ) : Entity Get the metadata for an entity, including column information
registerMapper ( Bravo3\Orm\Mappers\MapperInterface $mapper ) Register a new mapper

메소드 상세

__construct() 공개 메소드

public __construct ( array $mappers = [] )
$mappers array

getEntityMetadata() 공개 메소드

Get the metadata for an entity, including column information
public getEntityMetadata ( string | object $entity ) : Entity
$entity string | object Entity or class name of the entity
리턴 Bravo3\Orm\Mappers\Metadata\Entity

registerMapper() 공개 메소드

Register a new mapper
public registerMapper ( Bravo3\Orm\Mappers\MapperInterface $mapper )
$mapper Bravo3\Orm\Mappers\MapperInterface

프로퍼티 상세

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

protected MapperInterface[],Bravo3\Orm\Mappers $mappers
리턴 Bravo3\Orm\Mappers\MapperInterface[]