PHP Class Sylius\Bundle\OrderBundle\Form\DataMapper\OrderItemQuantityDataMapper

Author: Mateusz Zalewski ([email protected])
Inheritance: implements Symfony\Component\Form\DataMapperInterface
Show file Open project: sylius/sylius

Public Methods

Method Description
__construct ( Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface $orderItemQuantityModifier, Symfony\Component\Form\DataMapperInterface $propertyPathDataMapper )
mapDataToForms ( $data, $forms )
mapFormsToData ( $forms, &$data )

Method Details

__construct() public method

public __construct ( Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface $orderItemQuantityModifier, Symfony\Component\Form\DataMapperInterface $propertyPathDataMapper )
$orderItemQuantityModifier Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface
$propertyPathDataMapper Symfony\Component\Form\DataMapperInterface

mapDataToForms() public method

public mapDataToForms ( $data, $forms )

mapFormsToData() public method

public mapFormsToData ( $forms, &$data )