Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
lithium
tests
mocks
storage
cache
strategy
MockSerializer
PHP 클래스 lithium\tests\mocks\storage\cache\strategy\MockSerializer
Simulates the 'Serializer' strategy.
상속:
extends
lithium\core\Object
파일 보기
프로젝트 열기: unionofrad/lithium
공개 메소드들
메소드
설명
read
(
string
$data
) :
mixed
Read strategy method.
write
(
mixed
$data
) :
string
Write strategy method.
메소드 상세
read()
공개
메소드
Unserializes the passed data.
링크 보기:
PHP Manual: unserialize()
public
read
(
string
$data
) :
mixed
$data
string
Serialized data.
리턴
mixed
Result of unserialization.
write()
공개
메소드
Serializes the passed data.
링크 보기:
PHP Manual: serialize()
public
write
(
mixed
$data
) :
string
$data
mixed
The data to be serialized.
리턴
string
Serialized data.