ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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 448 of file NormalizerFormatterTest.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 453 of file NormalizerFormatterTest.php.

454  {
455  $this->resource = $resource;
456  $this->foo = 'BAR';
457  }

Member Function Documentation

◆ __toString()

Monolog\Formatter\TestStreamFoo::__toString ( )

Definition at line 459 of file NormalizerFormatterTest.php.

460  {
461  fseek($this->resource, 0);
462 
463  return $this->foo . ' - ' . (string) stream_get_contents($this->resource);
464  }

Field Documentation

◆ $foo

Monolog\Formatter\TestStreamFoo::$foo

Definition at line 450 of file NormalizerFormatterTest.php.

◆ $resource

Monolog\Formatter\TestStreamFoo::$resource

Definition at line 451 of file NormalizerFormatterTest.php.


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