abstract class PostAttributes (View source)

HTML attributes to be applied to post elements.

Traits

Methods

static void
add(...$values)

Add a value to the set.

from  Set
static void
remove(...$values)

Remove a value from the set.

from  Set
static bool
contains(...$values)

Determines if the set contains a value.

from  Set
static array
values()

Get the values as an array.

from  Set
static array
build($model)

Get the resulting class list for the given model.

Details

static void add(...$values)

Add a value to the set.

Parameters

...$values

Return Value

void

static void remove(...$values)

Remove a value from the set.

Parameters

...$values

Return Value

void

static bool contains(...$values)

Determines if the set contains a value.

Parameters

...$values

Return Value

bool

static array values()

Get the values as an array.

Return Value

array

static array build($model)

Get the resulting class list for the given model.

Parameters

$model

Return Value

array