Copied!

BrandContextInterface

BrandContextInterface.php : 17
Interface

Methods

publicgetAttributeValue()

BrandContextInterface.php : 66
public getAttributeValue(string $definitionIdentifier[, string|null $languageCode = null ]) : BrandContextAttributeValueInterface|null

Parameters

Name Type Default value Description
$definitionIdentifier string - -
$languageCode string|null null -

Return values

BrandContextAttributeValueInterface|null

Tags
Throws
InvalidArgumentException
Throws
NotFoundException

publicgetAttributeValues()

BrandContextInterface.php : 60

Returns all attribute values grouped by definition, in definition position order, with each definition's fallback-language value (per the prioritized languages the brand context was loaded with) coming first within its group.

public getAttributeValues() : array<int, BrandContextAttributeValueInterface>

Return values

array<int, BrandContextAttributeValueInterface>

Tags
Throws
InvalidArgumentException
Throws
NotFoundException

publicgetColor()

BrandContextInterface.php : 27
public getColor() : string

Return values

string

publicgetCreatedAt()

BrandContextInterface.php : 71
public getCreatedAt() : DateTimeImmutable

Return values

DateTimeImmutable

publicgetCreatedBy()

BrandContextInterface.php : 75
public getCreatedBy() : User|null

Return values

User|null

publicgetDescription()

BrandContextInterface.php : 33
public getDescription([string|null $languageCode = null ]) : string|null

Parameters

Name Type Default value Description
$languageCode string|null null -

Return values

string|null

publicgetDescriptions()

BrandContextInterface.php : 48
public getDescriptions() : array<string, string|null>

Return values

array<string, string|null>

publicgetId()

BrandContextInterface.php : 19
public getId() : int

Return values

int

publicgetIdentifier()

BrandContextInterface.php : 21
public getIdentifier() : string

Return values

string

publicgetLanguages()

BrandContextInterface.php : 38
public getLanguages() : array<string|int, string>

Return values

array<string|int, string>

BrandContextInterface.php : 23
public getLogo() : string

Return values

string

publicgetLogoThumbnail()

BrandContextInterface.php : 25
public getLogoThumbnail() : Thumbnail|null

Return values

Thumbnail|null

publicgetModifiedAt()

BrandContextInterface.php : 73
public getModifiedAt() : DateTimeImmutable

Return values

DateTimeImmutable

publicgetModifiedBy()

BrandContextInterface.php : 77
public getModifiedBy() : User|null

Return values

User|null

publicgetName()

BrandContextInterface.php : 31
public getName([string|null $languageCode = null ]) : string

Parameters

Name Type Default value Description
$languageCode string|null null -

Return values

string

publicgetNames()

BrandContextInterface.php : 43
public getNames() : array<string, string>

Return values

array<string, string>

publicgetRegion()

BrandContextInterface.php : 29
public getRegion() : string

Return values

string