PHP 클래스 spec\Sylius\Bundle\ProductBundle\Form\DataTransformer\ProductsToProductAssociationsTransformerSpec

저자: Grzegorz Sadowski ([email protected])
상속: extends PhpSpec\ObjectBehavior
파일 보기 프로젝트 열기: sylius/sylius

공개 메소드들

메소드 설명
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