trait RenderAttributesTrait (View source)

internal  
 

Methods

string
renderAttributes(iterable $attributes, bool $allowEmpty = true)

Render the tag attributes for the given key->values as string, if a value is an iterable it will be concatenated with spaces as separator

Details

protected string renderAttributes(iterable $attributes, bool $allowEmpty = true)

Render the tag attributes for the given key->values as string, if a value is an iterable it will be concatenated with spaces as separator

Parameters

iterable $attributes
bool $allowEmpty

Return Value

string