Cms\Traits\ParsableAttributes

Overview

ParsableAttributes allows CMS templates to use dynamic attributes

meta_title = "Blog - {{ post.title }}"

Protected Properties

protected array $parsableAttributes

parsableAttributes contains the translated attributes


Public Methods

public __get()

public __get($key): void

__get with parsable attribute override.

public addParsable()

public addParsable($attributes = null): void

addParsable attributes for the model

public getParsableAttributeValues()

public getParsableAttributeValues(): array 

getParsableAttributes

public setParsableAttribute()

public setParsableAttribute($key, $value): void