ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 380 of file NormalizerFormatterTest.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 385 of file NormalizerFormatterTest.php.

386  {
387  $this->resource = $resource;
388  $this->foo = 'BAR';
389  }

Member Function Documentation

◆ __toString()

Monolog\Formatter\TestStreamFoo::__toString ( )

Definition at line 391 of file NormalizerFormatterTest.php.

References string.

392  {
393  fseek($this->resource, 0);
394 
395  return $this->foo . ' - ' . (string) stream_get_contents($this->resource);
396  }
Add rich text string

Field Documentation

◆ $foo

Monolog\Formatter\TestStreamFoo::$foo

Definition at line 382 of file NormalizerFormatterTest.php.

◆ $resource

Monolog\Formatter\TestStreamFoo::$resource

Definition at line 383 of file NormalizerFormatterTest.php.


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