'array', 'open_in_new_window' => 'boolean', ]; public function isAlignedLeft() { return $this->direction === 'left'; } public function isAlignedRight() { return $this->direction === 'right'; } public function file() { return $this->belongsTo(File::class)->withDefault(); } }