\Dalenys_Api_Batch_Observer_FileReport

Write a CSV output based on the CSV input

Summary

Methods
Properties
Constants
__construct()
update()
__destruct()
No public properties found
No constants found
No protected methods found
$file
$headers
$knownResultHeaders
$inMemoryImage
N/A
No private methods found
No private properties found
N/A

Properties

$file

$file : resource

Type

resource — The output file

$headers

$headers : array

Type

array — The CSV headers from requests

$knownResultHeaders

$knownResultHeaders : array

Type

array — The CSV headers for responses

$inMemoryImage

$inMemoryImage : array

Type

array — The CSV lines

Methods

__construct()

__construct(  $file) 

Instanciate

Parameters

$file

update()

update(\SplSubject  $subject) : void

(PHP 5 &gt;= 5.1.0)<br/> Receive update from subject

Parameters

\SplSubject $subject

The SplSubject notifying the observer of an update.

__destruct()

__destruct() 

Close file descriptors