PHP Class spec\Sylius\Bundle\ProductBundle\Form\DataTransformer\ProductsToProductAssociationsTransformerSpec

Author: Grzegorz Sadowski ([email protected])
Inheritance: extends PhpSpec\ObjectBehavior
Afficher le fichier Open project: sylius/sylius

Méthodes publiques

Méthode Description
it_is_a_data_transformer ( )
it_is_initializable ( )
it_reverse_transforms_empty_string_into_null ( )
it_reverse_transforms_null_into_null ( )
it_transforms_null_to_empty_string ( )
it_transforms_product_associations_to_array ( Sylius\Component\Product\Model\ProductAssociationInterface $productAssociation, Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType, Sylius\Component\Product\Model\ProductInterface $firstAssociatedProduct, Sylius\Component\Product\Model\ProductInterface $secondAssociatedProduct )
let ( Sylius\Component\Resource\Factory\FactoryInterface $productAssociationFactory, Sylius\Component\Product\Repository\ProductRepositoryInterface $productRepository, Sylius\Component\Resource\Repository\RepositoryInterface $productAssociationTypeRepository )

Method Details

it_is_a_data_transformer() public méthode

it_is_initializable() public méthode

public it_is_initializable ( )

it_reverse_transforms_empty_string_into_null() public méthode

it_reverse_transforms_null_into_null() public méthode

it_transforms_null_to_empty_string() public méthode

it_transforms_product_associations_to_array() public méthode

public it_transforms_product_associations_to_array ( Sylius\Component\Product\Model\ProductAssociationInterface $productAssociation, Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType, Sylius\Component\Product\Model\ProductInterface $firstAssociatedProduct, Sylius\Component\Product\Model\ProductInterface $secondAssociatedProduct )
$productAssociation Sylius\Component\Product\Model\ProductAssociationInterface
$productAssociationType Sylius\Component\Product\Model\ProductAssociationTypeInterface
$firstAssociatedProduct Sylius\Component\Product\Model\ProductInterface
$secondAssociatedProduct Sylius\Component\Product\Model\ProductInterface

let() public méthode

public let ( Sylius\Component\Resource\Factory\FactoryInterface $productAssociationFactory, Sylius\Component\Product\Repository\ProductRepositoryInterface $productRepository, Sylius\Component\Resource\Repository\RepositoryInterface $productAssociationTypeRepository )
$productAssociationFactory Sylius\Component\Resource\Factory\FactoryInterface
$productRepository Sylius\Component\Product\Repository\ProductRepositoryInterface
$productAssociationTypeRepository Sylius\Component\Resource\Repository\RepositoryInterface