PHP Class Sylius\Bundle\CoreBundle\Fixture\Factory\ProductAttributeExampleFactory

Author: Kamil Kokot ([email protected])
Inheritance: extends AbstractExampleFactory, implements Sylius\Bundle\CoreBundle\Fixture\Factory\ExampleFactoryInterface
Show file Open project: sylius/sylius

Public Methods

Method Description
__construct ( Sylius\Component\Attribute\Factory\AttributeFactoryInterface $productAttributeFactory, Sylius\Component\Resource\Repository\RepositoryInterface $localeRepository, array $attributeTypes )
create ( array $options = [] )

Protected Methods

Method Description
configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )

Private Methods

Method Description
getLocales ( ) : array

Method Details

__construct() public method

public __construct ( Sylius\Component\Attribute\Factory\AttributeFactoryInterface $productAttributeFactory, Sylius\Component\Resource\Repository\RepositoryInterface $localeRepository, array $attributeTypes )
$productAttributeFactory Sylius\Component\Attribute\Factory\AttributeFactoryInterface
$localeRepository Sylius\Component\Resource\Repository\RepositoryInterface
$attributeTypes array

configureOptions() protected method

protected configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )
$resolver Symfony\Component\OptionsResolver\OptionsResolver

create() public method

public create ( array $options = [] )
$options array