ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5
Monolog\Formatter\TestStreamFoo Class Reference
+ Collaboration diagram for Monolog\Formatter\TestStreamFoo:

Public Member Functions

 __construct ($resource)
 
 __toString ()
 

Data Fields

 $foo
 
 $resource
 

Detailed Description

Definition at line 253 of file NormalizerFormatterTest.php.

Constructor & Destructor Documentation

◆ __construct()

Monolog\Formatter\TestStreamFoo::__construct (   $resource)

Definition at line 258 of file NormalizerFormatterTest.php.

259  {
260  $this->resource = $resource;
261  $this->foo = 'BAR';
262  }

Member Function Documentation

◆ __toString()

Monolog\Formatter\TestStreamFoo::__toString ( )

Definition at line 264 of file NormalizerFormatterTest.php.

265  {
266  fseek($this->resource, 0);
267 
268  return $this->foo . ' - ' . (string) stream_get_contents($this->resource);
269  }

Field Documentation

◆ $foo

Monolog\Formatter\TestStreamFoo::$foo

Definition at line 255 of file NormalizerFormatterTest.php.

◆ $resource

Monolog\Formatter\TestStreamFoo::$resource

Definition at line 256 of file NormalizerFormatterTest.php.


The documentation for this class was generated from the following file: