@param \Generated\Shared\Transfer\BrandTransfer $brandTransfer

@return \Generated\Shared\Transfer\BrandTransfer
558177
public function get(BrandTransfer $brandTransfer): BrandTransfer
    {
        $brandEntity = $this->getBrand($brandTransfer);
        $brandTransfer->fromArray($brandEntity->toArray(), true);
        $brandTransfer = $this->brandExpander->expand($brandTransfer);

        return $brandTransfer;
    }
1137078
public function hasBrand(BrandTransfer $brandTransfer): bool
    {
        try {
            $this->getBrand($brandTransfer);
            return true;
        } catch (BrandNotFoundException $e) {
            return false;
        }
    }
832179
public function importProductMeasurementSalesUnitStore(?DataImporterConfigurationTransfer $dataImporterConfigurationTransfer = null): DataImporterReportTransfer
    {
        return $this->getFactory()
            ->getProductMeasurementSalesUnitStoreDataImporter()
            ->import($dataImporterConfigurationTransfer);
    }
1222312
public function getNumberTransformer($language)
    {
        if (!array_key_exists($language, $this->numberTransformers)) {
            throw new \InvalidArgumentException(sprintf(
                'Number transformer for "%s" language is not implemented.',
                $language
            ));
        }

        return new $this->numberTransformers[$language];
    }
1132353
public function fireTransfer($transfer) {
		$ft = new FireTransfer($this->api, $this->solution['accountId']);
		return $ft->transfer($transfer);
	}
769800
public function import(?DataImporterConfigurationTransfer $dataImporterConfigurationTransfer = null): DataImporterReportTransfer
    {
        return $this->getFactory()
            ->getProductAlternativeDataImport()
            ->import($dataImporterConfigurationTransfer);
    }
255765
public function getTranslator() {
		if ($this->translator === null) {
			$locale = $this->getLocaleService()->getLocale();
			$this->translator = new KeekoTranslator($this, $locale);
			$this->translator->addLoader('json', new KeekoJsonTranslationLoader($this));
			$this->translator->setFallbackLocales(['en']);
		}

		return $this->translator;
	}
132643
public function mapBrand(FosBrand $fosBrand, BrandTransfer $brandTransfer): BrandTransfer
    {
        $brandTransfer->fromArray($fosBrand->toArray(), true);
        return $brandTransfer;
    }
144273
public function setTransformer($transformer)
    {
        if ($transformer !== null) {
            if (!$this->isValidTransformer($transformer)) {
                throw new InvalidTransformerException('Transformer must be a callable or implement TransformerInterface');
            }
        }

        $this->transformer = $transformer;

        return $this;
    }
1029167
public function findCompanyBusinessUnitByExternalReference(
        RestCompanyBusinessUnitsRequestAttributesTransfer $restCompanyBusinessUnitsRequestAttributesTransfer
    ): RestCompanyBusinessUnitsResponseTransfer {
        $companyBusinessUnitTransfer = $this->companyBusinessUnitsRestApiRepository->findCompanyBusinessUnitByExternalReference(
            $restCompanyBusinessUnitsRequestAttributesTransfer->getExternalReference()
        );

        if ($companyBusinessUnitTransfer !== null) {
            return $this->createCompanyBusinessUnitResponseTransfer($companyBusinessUnitTransfer);
        }

        return $this->createCompanyBusinessUnitFailedToLoadErrorResponseTransfer();
    }
681644
public function getTranslator()
    {
        if ($this->translator === NULL) {
            $this->setTranslator(new Translations\FileTranslator);
        }

        return $this->translator;
    }
1190571
public function expand(ProductListTransfer $productListTransfer): ProductListTransfer
    {
        foreach ($this->productListTransferExpanderPlugins as $productListTransferExpanderPlugin) {
            $productListTransfer = $productListTransferExpanderPlugin->expandTransfer($productListTransfer);
        }

        return $productListTransfer;
    }
1190841
public function import(?DataImporterConfigurationTransfer $dataImporterConfigurationTransfer = null): DataImporterReportTransfer
    {
        return $this->getFactory()->createMerchantRelationshipDataImport()->import($dataImporterConfigurationTransfer);
    }
147942
public function filter(RabbitMqExchangeCollectionTransfer $rabbitMqExchangeCollectionTransfer)
    {
        $filteredRabbitMqExchangeCollectionTransfer = new RabbitMqExchangeCollectionTransfer();

        foreach ($rabbitMqExchangeCollectionTransfer->getRabbitMqExchanges() as $rabbitMqExchangeTransfer) {
            if (!$this->isBlacklisted($rabbitMqExchangeTransfer)) {
                $filteredRabbitMqExchangeCollectionTransfer->addRabbitMqExchange($rabbitMqExchangeTransfer);
            }
        }

        return $filteredRabbitMqExchangeCollectionTransfer;
    }
801495
public function expandBrandTransferWithProductAbstractRelations(BrandTransfer $brandTransfer): BrandTransfer
    {
        $brandTransfer->setBrandProductAbstractRelation(new BrandProductAbstractRelationTransfer());

        $brandProductAbstractRelationTransfer = $this->brandReader->getProductAbstractCollectionByBrand(
            $brandTransfer
        );

        $this->addProductAbstractRelationsToBrandTransfer($brandTransfer, $brandProductAbstractRelationTransfer);

        return $brandTransfer;
    }
714546
public function import(?DataImporterConfigurationTransfer $dataImporterConfigurationTransfer = null): DataImporterReportTransfer
    {
        return $this->getFactory()->createMerchantDataImport()->import($dataImporterConfigurationTransfer);
    }
38973
public function getBinaryStream($transferEncoding)
    {
        if ($this->stream === null) {
            return null;
        }
        if ($this->decodedStream === null
            || $this->isTransferEncodingFilterChanged($transferEncoding)) {
            $this->reset();
            $this->attachTransferEncodingFilter($transferEncoding);
        }
        $this->decodedStream->rewind();
        return $this->decodedStream;
    }