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

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

Public Methods

Method Description
__construct ( Sylius\Component\Channel\Factory\ChannelFactoryInterface $channelFactory, Sylius\Component\Resource\Repository\RepositoryInterface $localeRepository, Sylius\Component\Resource\Repository\RepositoryInterface $currencyRepository )
create ( array $options = [] )

Protected Methods

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

Method Details

__construct() public method

public __construct ( Sylius\Component\Channel\Factory\ChannelFactoryInterface $channelFactory, Sylius\Component\Resource\Repository\RepositoryInterface $localeRepository, Sylius\Component\Resource\Repository\RepositoryInterface $currencyRepository )
$channelFactory Sylius\Component\Channel\Factory\ChannelFactoryInterface
$localeRepository Sylius\Component\Resource\Repository\RepositoryInterface
$currencyRepository 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