Method | Description | |
---|---|---|
getContentAttribute ( string $value ) : string | Unserialize the content attribute from the database's JSON value. | |
setContentAttribute ( string $value ) | Serialize the content attribute to be stored in the database as JSON. |
public getContentAttribute ( string $value ) : string | ||
$value | string | |
return | string |
public setContentAttribute ( string $value ) | ||
$value | string |