PHP 클래스 Sonata\Exporter\Writer\FormattedBoolWriter

저자: Robin Chalas ([email protected])
상속: implements Sonata\Exporter\Writer\WriterInterface
파일 보기 프로젝트 열기: sonata-project/exporter 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$falseLabel string
$trueLabel string
$writer Sonata\Exporter\Writer\WriterInterface

공개 메소드들

메소드 설명
__construct ( Sonata\Exporter\Writer\WriterInterface $writer, string $trueLabel = 'yes', string $falseLabel = 'no' )
close ( )
open ( )
write ( array $data )

메소드 상세

__construct() 공개 메소드

public __construct ( Sonata\Exporter\Writer\WriterInterface $writer, string $trueLabel = 'yes', string $falseLabel = 'no' )
$writer Sonata\Exporter\Writer\WriterInterface
$trueLabel string
$falseLabel string

close() 공개 메소드

public close ( )

open() 공개 메소드

public open ( )

write() 공개 메소드

public write ( array $data )
$data array

프로퍼티 상세

$falseLabel 보호되어 있는 프로퍼티

protected string $falseLabel
리턴 string

$trueLabel 보호되어 있는 프로퍼티

protected string $trueLabel
리턴 string

$writer 보호되어 있는 프로퍼티

protected WriterInterface,Sonata\Exporter\Writer $writer
리턴 Sonata\Exporter\Writer\WriterInterface