PHP 클래스 Akeneo\Component\SpreadsheetParser\Xlsx\ValueTransformer

저자: Antoine Guigan ([email protected])
파일 보기 프로젝트 열기: akeneo-labs/spreadsheet-parser

보호된 프로퍼티들

프로퍼티 타입 설명
$dateTransformer Akeneo\Component\SpreadsheetParser\Xlsx\DateTransformer
$sharedStrings SharedStrings
$styles Styles

공개 메소드들

메소드 설명
__construct ( Akeneo\Component\SpreadsheetParser\Xlsx\DateTransformer $dateTransformer, SharedStrings $sharedStrings, Styles $styles ) Constructor
transform ( string $value, string $type, string $style ) : mixed Formats a value

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( Akeneo\Component\SpreadsheetParser\Xlsx\DateTransformer $dateTransformer, SharedStrings $sharedStrings, Styles $styles )
$dateTransformer Akeneo\Component\SpreadsheetParser\Xlsx\DateTransformer
$sharedStrings SharedStrings
$styles Styles

transform() 공개 메소드

Formats a value
public transform ( string $value, string $type, string $style ) : mixed
$value string The value which should be transformed
$type string The type of the value
$style string The style of the value
리턴 mixed

프로퍼티 상세

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

protected DateTransformer,Akeneo\Component\SpreadsheetParser\Xlsx $dateTransformer
리턴 Akeneo\Component\SpreadsheetParser\Xlsx\DateTransformer

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

protected SharedStrings,Akeneo\Component\SpreadsheetParser\Xlsx $sharedStrings
리턴 SharedStrings

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

protected Styles,Akeneo\Component\SpreadsheetParser\Xlsx $styles
리턴 Styles