PHP Класс Sylius\Bundle\CoreBundle\Fixture\Factory\ProductAttributeExampleFactory

Автор: Kamil Kokot ([email protected])
Наследование: extends AbstractExampleFactory, implements Sylius\Bundle\CoreBundle\Fixture\Factory\ExampleFactoryInterface
Показать файл Открыть проект

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

Метод Описание
__construct ( Sylius\Component\Attribute\Factory\AttributeFactoryInterface $productAttributeFactory, Sylius\Component\Resource\Repository\RepositoryInterface $localeRepository, array $attributeTypes )
create ( array $options = [] )

Защищенные методы

Метод Описание
configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )

Приватные методы

Метод Описание
getLocales ( ) : array

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

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

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 configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )
$resolver Symfony\Component\OptionsResolver\OptionsResolver

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

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