Class Swift_Stream

Description

Provides a custom registered stream for use with a transport protocol This is part of the Swift Mailer unit testing stuff.

It uses a command processor to do that actual reading/writing

Located in /library/swift/lib/Swift/Stream.php (line 8)


	
			
Method Summary
void stream_close ()
void stream_eof ()
void stream_open ( $path,  $mode,  $options,  &$opened_path)
void stream_read ( $size)
void stream_write ( $string)
Methods
stream_close (line 55)

Singletons never really get destroyed much, this just nulls it out

  • access: public
void stream_close ()
stream_eof (line 47)

Only here to prevent errors

  • access: public
void stream_eof ()
stream_open (line 19)

PHP's call back for fopen() actions on the fake stream

  • access: public
void stream_open ( $path,  $mode,  $options,  &$opened_path)
  • $path
  • $mode
  • $options
  • &$opened_path
stream_read (line 28)

PHP Callback for fread() fgets() etc

  • access: public
void stream_read ( $size)
  • $size
stream_write (line 35)

fwrite() callback

  • access: public
void stream_write ( $string)
  • $string

Documentation generated on Wed, 23 Jan 2008 01:59:28 +0000 by phpDocumentor 1.4.0