PHP Класс spec\Sylius\Bundle\ProductBundle\Form\DataTransformer\ProductsToProductAssociationsTransformerSpec

Автор: Grzegorz Sadowski ([email protected])
Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

Открытые методы

Метод Описание
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 )

Описание методов

it_is_a_data_transformer() публичный Метод

it_is_initializable() публичный Метод

public 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() публичный Метод

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 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