PHP Class Sonata\Component\Currency\CurrencyDataTransformer

Author: Hugo Briand ([email protected])
Inheritance: implements Symfony\Component\Form\DataTransformerInterface
Datei anzeigen Open project: sonata-project/ecommerce

Public Methods

Method Description
__construct ( Sonata\Component\Currency\CurrencyManagerInterface $currencyManager ) Constructs the CurrencyDataTransformer.
reverseTransform ( $value )
transform ( $value )

Method Details

__construct() public method

Constructs the CurrencyDataTransformer.
public __construct ( Sonata\Component\Currency\CurrencyManagerInterface $currencyManager )
$currencyManager Sonata\Component\Currency\CurrencyManagerInterface

reverseTransform() public method

public reverseTransform ( $value )

transform() public method

public transform ( $value )