PHP Class Tester\FileMock

ファイルを表示 Open project: nette/tester Class Usage Examples

Public Properties

Property Type Description
$files string[]

Public Methods

Method Description
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 )

Private Methods

Method Description
warning ( $message )

Method Details

create() public static method

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

register() public static method

public static register ( )

stream_eof() public method

public stream_eof ( )

stream_lock() public method

public stream_lock ( $operation )

stream_open() public method

public stream_open ( $path, $mode )

stream_read() public method

public stream_read ( $length )

stream_seek() public method

public stream_seek ( $offset, $whence )

stream_stat() public method

public stream_stat ( )

stream_tell() public method

public stream_tell ( )

stream_truncate() public method

public stream_truncate ( $size )

stream_write() public method

public stream_write ( $data )

url_stat() public method

public url_stat ( $path, $flags )

Property Details

$files public_oe static_oe property

public static string[] $files
return string[]