PHP 클래스 Bravo3\Orm\Services\Io\Reader

파일 보기 프로젝트 열기: bravo3/orm 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$entity object
$metadata Bravo3\Orm\Mappers\Metadata\Entity

공개 메소드들

메소드 설명
__construct ( Entity $metadata, object $entity )
getEntityClassName ( object | string $entity ) : string Get the true class name of the entity, resolving any proxy wrappers
getId ( ) : string Get an ID for the given data
getIndexValue ( Bravo3\Orm\Mappers\Metadata\Index $index ) : string Get the value of an index
getMethodValue ( $name ) : mixed Get the value of a method on the entity
getPropertyValue ( string $name ) : mixed Get the value of a property on the entity

메소드 상세

__construct() 공개 메소드

public __construct ( Entity $metadata, object $entity )
$metadata Bravo3\Orm\Mappers\Metadata\Entity
$entity object

getEntityClassName() 공개 정적인 메소드

Get the true class name of the entity, resolving any proxy wrappers
public static getEntityClassName ( object | string $entity ) : string
$entity object | string
리턴 string

getId() 공개 메소드

Get an ID for the given data
public getId ( ) : string
리턴 string

getIndexValue() 공개 메소드

Get the value of an index
public getIndexValue ( Bravo3\Orm\Mappers\Metadata\Index $index ) : string
$index Bravo3\Orm\Mappers\Metadata\Index
리턴 string

getMethodValue() 공개 메소드

Get the value of a method on the entity
public getMethodValue ( $name ) : mixed
$name
리턴 mixed

getPropertyValue() 공개 메소드

Get the value of a property on the entity
public getPropertyValue ( string $name ) : mixed
$name string
리턴 mixed

프로퍼티 상세

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

protected object $entity
리턴 object

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

protected Entity,Bravo3\Orm\Mappers\Metadata $metadata
리턴 Bravo3\Orm\Mappers\Metadata\Entity