public function getEntryShapeAttribute() { if ($this->type !== 'art') { return; } return $this->extra_options['shape'] ?? 'square'; }