/**
* Get an attribute array of all arrayable attributes.
*
* @return array
*/
protected function getArrayableAttributes()
{
$arrayable_attributes = parent::getArrayableAttributes();
foreach ($this->getMutatedAttributes() as $key) {
$arrayable_attributes[$key] = $this->{$key};
}
return $arrayable_attributes;
}