public function getItemsAttribute()
{
if (array_key_exists('items', $this->attributes)) {
return $this->attributes['items'];
}
if ($items = array_get($this->parseContent(), 'items')) {
$itemObjects = MenuItem::initFromArray($items);
} else {
$itemObjects = [];
}
return $this->attributes['items'] = $itemObjects;
}