Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Sonata
Exporter
Writer
JsonWriter
PHP Class Sonata\Exporter\Writer\JsonWriter
Author:
Thomas Rabaix (
[email protected]
)
Inheritance:
implements
Sonata\Exporter\Writer\TypedWriterInterface
Exibir arquivo
Open project: sonata-project/exporter
Class Usage Examples
Protected Properties
Property
Type
Description
$file
resource
$filename
string
$position
integer
Public Methods
Method
Description
__construct
(
string
$filename
)
close
( )
getDefaultMimeType
( )
getFormat
( )
open
( )
write
(
array
$data
)
Method Details
__construct()
public
method
public
__construct
(
string
$filename
)
$filename
string
close()
public
method
public
close
( )
getDefaultMimeType()
final
public
method
final
public
getDefaultMimeType
( )
getFormat()
final
public
method
final
public
getFormat
( )
open()
public
method
public
open
( )
write()
public
method
public
write
(
array
$data
)
$data
array
Property Details
$file
protected_oe property
protected
resource
$file
return
resource
$filename
protected_oe property
protected
string
$filename
return
string
$position
protected_oe property
protected
int
$position
return
integer