Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Mongolid
Serializer
Type
ObjectIDTest
PHP 클래스 Mongolid\Serializer\Type\ObjectIDTest
상속:
extends
TestCas\TestCase
파일 보기
프로젝트 열기: leroy-merlin-br/mongolid
보호된 프로퍼티들
프로퍼티
타입
설명
$mongoId
MongoDB\BSON\ObjectID
$stringId
string
공개 메소드들
메소드
설명
setUp
( )
tearDown
( )
testConstructorShouldCastMongodbObjectIdToString
( )
testConstructorShouldThrowExceptionWithInvalidStrings
( )
testConvertShouldRetrieveMongodbObjectId
( )
testObjectIdShouldBeSerializable
( )
testShouldBeCastableToString
( )
testShouldProperlyEncodeToJson
( )
testUnserializeShouldKeepStringId
( )
메소드 상세
setUp()
공개
메소드
public
setUp
( )
tearDown()
공개
메소드
public
tearDown
( )
testConstructorShouldCastMongodbObjectIdToString()
공개
메소드
public
testConstructorShouldCastMongodbObjectIdToString
( )
testConstructorShouldThrowExceptionWithInvalidStrings()
공개
메소드
public
testConstructorShouldThrowExceptionWithInvalidStrings
( )
testConvertShouldRetrieveMongodbObjectId()
공개
메소드
public
testConvertShouldRetrieveMongodbObjectId
( )
testObjectIdShouldBeSerializable()
공개
메소드
public
testObjectIdShouldBeSerializable
( )
testShouldBeCastableToString()
공개
메소드
public
testShouldBeCastableToString
( )
testShouldProperlyEncodeToJson()
공개
메소드
public
testShouldProperlyEncodeToJson
( )
testUnserializeShouldKeepStringId()
공개
메소드
public
testUnserializeShouldKeepStringId
( )
프로퍼티 상세
$mongoId
보호되어 있는 프로퍼티
protected
ObjectID,MongoDB\BSON
$mongoId
리턴
MongoDB\BSON\ObjectID
$stringId
보호되어 있는 프로퍼티
protected
string
$stringId
리턴
string