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

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 $paymentMethodFactory, Sylius\Component\Resource\Repository\RepositoryInterface $localeRepository, Sylius\Component\Channel\Repository\ChannelRepositoryInterface $channelRepository )
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 $paymentMethodFactory, Sylius\Component\Resource\Repository\RepositoryInterface $localeRepository, Sylius\Component\Channel\Repository\ChannelRepositoryInterface $channelRepository )
$paymentMethodFactory Sylius\Component\Resource\Factory\FactoryInterface
$localeRepository Sylius\Component\Resource\Repository\RepositoryInterface
$channelRepository Sylius\Component\Channel\Repository\ChannelRepositoryInterface

configureOptions() protected method

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

create() public method

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