Свойство | Тип | Описание | |
---|---|---|---|
$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 |