Icon
extends Base
Table of Contents
Constants
-
BACKGROUND_FAILURE
= 'failure'
-
BACKGROUND_PRIMARY
= 'primary'
-
BACKGROUND_PRIMARY_ALT
= 'primary_alt'
-
COUNTER_TYPE_DANGER
= 'danger'
-
COUNTER_TYPE_SUCCESS
= 'success'
Methods
-
getBackgroundColor()
: string|null
-
getBackgroundColorToken()
: string|null
-
getBackgroundUri()
: string|null
-
getCode()
: string
-
getCounterType()
: string|null
-
setBackgroundColor()
: Icon
-
setBackgroundColorToken()
: self
-
setBackgroundUri()
: self
-
setCode()
: self
-
setCounterType()
: self
-
toArray()
: array<string|int, mixed>
BACKGROUND_FAILURE
public
mixed
BACKGROUND_FAILURE
= 'failure'
BACKGROUND_PRIMARY
public
mixed
BACKGROUND_PRIMARY
= 'primary'
BACKGROUND_PRIMARY_ALT
public
mixed
BACKGROUND_PRIMARY_ALT
= 'primary_alt'
COUNTER_TYPE_DANGER
public
mixed
COUNTER_TYPE_DANGER
= 'danger'
COUNTER_TYPE_SUCCESS
public
mixed
COUNTER_TYPE_SUCCESS
= 'success'
getBackgroundColor()
public
getBackgroundColor() : string|null
Return values
string|null
getBackgroundColorToken()
public
getBackgroundColorToken() : string|null
Return values
string|null
getBackgroundUri()
public
getBackgroundUri() : string|null
Return values
string|null
getCode()
public
getCode() : string
getCounterType()
public
getCounterType() : string|null
Return values
string|null
setBackgroundColor()
public
setBackgroundColor(string|null $backgroundColor) : Icon
Parameters
-
$backgroundColor
: string|null
-
setBackgroundColorToken()
public
setBackgroundColorToken(string|null $backgroundColorToken) : self
Parameters
-
$backgroundColorToken
: string|null
-
setBackgroundUri()
public
setBackgroundUri(string|null $backgroundUri) : self
Parameters
-
$backgroundUri
: string|null
-
setCode()
public
setCode(string $className) : self
Parameters
-
$className
: string
-
setCounterType()
public
setCounterType(string|null $counterType) : self
Parameters
-
$counterType
: string|null
-
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>