PHP 클래스 SimpleReturn, simpletest

Stashes a value for returning later. Follows usual PHP5 semantics of objects being returned by reference.
파일 보기 프로젝트 열기: simpletest/simpletest

공개 메소드들

메소드 설명
__construct ( mixed $value ) Stashes it for later.
act ( ) : mixed Returns the value stored earlier.

메소드 상세

__construct() 공개 메소드

Stashes it for later.
public __construct ( mixed $value )
$value mixed You need to clone objects if you want copy semantics for these.

act() 공개 메소드

Returns the value stored earlier.
public act ( ) : mixed
리턴 mixed Whatever was stashed.