Method | Description | |
---|---|---|
__construct ( Sylius\Component\Resource\Repository\RepositoryInterface $taxonRepository, Sylius\Component\Resource\Factory\FactoryInterface $taxonFactory, Sylius\Component\Resource\Factory\FactoryInterface $taxonTranslationFactory, Sylius\Component\Resource\Factory\FactoryInterface $taxonImageFactory, Doctrine\Common\Persistence\ObjectManager $objectManager, Sylius\Component\Core\Uploader\ImageUploaderInterface $imageUploader, Sylius\Component\Taxonomy\Generator\TaxonSlugGeneratorInterface $taxonSlugGenerator, array $minkParameters ) | ||
storeClassifiesItsProductsAs ( $taxonsNames ) | ||
theStoreHasTaxonomyNamedInAndIn ( $firstName, $firstLocale, $secondName, $secondLocale ) | ||
theTaxonHasAnImageWithACode ( Sylius\Component\Core\Model\TaxonInterface $taxon, $imagePath, $imageCode ) |
Method | Description | |
---|---|---|
createTaxon ( string $name ) : Sylius\Component\Core\Model\TaxonInterface | ||
createTaxonInManyLanguages ( array $names ) : Sylius\Component\Core\Model\TaxonInterface | ||
getParameter ( string $name ) : Behat\Mink\Element\NodeElement |
public __construct ( Sylius\Component\Resource\Repository\RepositoryInterface $taxonRepository, Sylius\Component\Resource\Factory\FactoryInterface $taxonFactory, Sylius\Component\Resource\Factory\FactoryInterface $taxonTranslationFactory, Sylius\Component\Resource\Factory\FactoryInterface $taxonImageFactory, Doctrine\Common\Persistence\ObjectManager $objectManager, Sylius\Component\Core\Uploader\ImageUploaderInterface $imageUploader, Sylius\Component\Taxonomy\Generator\TaxonSlugGeneratorInterface $taxonSlugGenerator, array $minkParameters ) | ||
$taxonRepository | Sylius\Component\Resource\Repository\RepositoryInterface | |
$taxonFactory | Sylius\Component\Resource\Factory\FactoryInterface | |
$taxonTranslationFactory | Sylius\Component\Resource\Factory\FactoryInterface | |
$taxonImageFactory | Sylius\Component\Resource\Factory\FactoryInterface | |
$objectManager | Doctrine\Common\Persistence\ObjectManager | |
$imageUploader | Sylius\Component\Core\Uploader\ImageUploaderInterface | |
$taxonSlugGenerator | Sylius\Component\Taxonomy\Generator\TaxonSlugGeneratorInterface | |
$minkParameters | array |
public theStoreHasTaxonomyNamedInAndIn ( $firstName, $firstLocale, $secondName, $secondLocale ) |
public theTaxonHasAnImageWithACode ( Sylius\Component\Core\Model\TaxonInterface $taxon, $imagePath, $imageCode ) | ||
$taxon | Sylius\Component\Core\Model\TaxonInterface |