PHP 클래스 Tester\FileMock

파일 보기 프로젝트 열기: nette/tester 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$files string[]

공개 메소드들

메소드 설명
create ( $content, $extension = NULL ) : string
register ( )
stream_eof ( )
stream_lock ( $operation )
stream_open ( $path, $mode )
stream_read ( $length )
stream_seek ( $offset, $whence )
stream_stat ( )
stream_tell ( )
stream_truncate ( $size )
stream_write ( $data )
unlink ( $path )
url_stat ( $path, $flags )

비공개 메소드들

메소드 설명
warning ( $message )

메소드 상세

create() 공개 정적인 메소드

public static create ( $content, $extension = NULL ) : string
리턴 string file name

register() 공개 정적인 메소드

public static register ( )

stream_eof() 공개 메소드

public stream_eof ( )

stream_lock() 공개 메소드

public stream_lock ( $operation )

stream_open() 공개 메소드

public stream_open ( $path, $mode )

stream_read() 공개 메소드

public stream_read ( $length )

stream_seek() 공개 메소드

public stream_seek ( $offset, $whence )

stream_stat() 공개 메소드

public stream_stat ( )

stream_tell() 공개 메소드

public stream_tell ( )

stream_truncate() 공개 메소드

public stream_truncate ( $size )

stream_write() 공개 메소드

public stream_write ( $data )

url_stat() 공개 메소드

public url_stat ( $path, $flags )

프로퍼티 상세

$files 공개적으로 정적으로 프로퍼티

public static string[] $files
리턴 string[]