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

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

Public Methods

Method Description
__construct ( Sylius\Component\Resource\Factory\FactoryInterface $productOptionFactory, Sylius\Component\Resource\Factory\FactoryInterface $productOptionValueFactory, Sylius\Component\Resource\Repository\RepositoryInterface $localeRepository )
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\Resource\Factory\FactoryInterface $productOptionFactory, Sylius\Component\Resource\Factory\FactoryInterface $productOptionValueFactory, Sylius\Component\Resource\Repository\RepositoryInterface $localeRepository )
$productOptionFactory Sylius\Component\Resource\Factory\FactoryInterface
$productOptionValueFactory Sylius\Component\Resource\Factory\FactoryInterface
$localeRepository Sylius\Component\Resource\Repository\RepositoryInterface

configureOptions() protected method

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

create() public method

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