프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$mappedTypes | string[] |
메소드 | 설명 | |
---|---|---|
__construct ( ) | Constructor. | |
toDomainTypes ( array $data ) : mixed | Unconverts recursively the given objects (probably retrieved from MongoDB) to our specific types. | |
toMongoTypes ( array $data ) : mixed | Converts recursively the given data to persistable objects into database. |
메소드 | 설명 | |
---|---|---|
getReflectionClass ( mixed $className ) : mixed | Returns the mapped type of the given className. |
protected getReflectionClass ( mixed $className ) : mixed | ||
$className | mixed | Name of the class to return. |
리턴 | mixed |
public toDomainTypes ( array $data ) : mixed | ||
$data | array | Array to convert. |
리턴 | mixed |
public toMongoTypes ( array $data ) : mixed | ||
$data | array | Array to convert. |
리턴 | mixed |