Logidav Docs

AttributeService
in package

Table of Contents

Constants

UNIVERSE_ATTRIBUTE_CODE  = 'product_universes'

Properties

$attributeApi  : AttributeApi|object
$container  : ContainerInterface
$entityManager  : EntityManagerInterface

Methods

__construct()  : mixed
getAttributeOptions()  : array<string|int, mixed>|mixed
getRepo()  : AttributeRepository
save()  : Attribute
Save a Attribute
saveAttributeNewOption()  : array<string|int, mixed>|mixed

Constants

UNIVERSE_ATTRIBUTE_CODE

public mixed UNIVERSE_ATTRIBUTE_CODE = 'product_universes'

Properties

Methods

__construct()

public __construct(ContainerInterface $container, EntityManagerInterface $entityManager) : mixed
Parameters
$container : ContainerInterface
$entityManager : EntityManagerInterface

getAttributeOptions()

public getAttributeOptions(mixed $attributeCode) : array<string|int, mixed>|mixed
Parameters
$attributeCode : mixed
Return values
array<string|int, mixed>|mixed

saveAttributeNewOption()

public saveAttributeNewOption(mixed $attributeCode, mixed $options) : array<string|int, mixed>|mixed
Parameters
$attributeCode : mixed
$options : mixed
Return values
array<string|int, mixed>|mixed

        
On this page

Search results