'date', 'scadenza_abbonamenti' => 'date', 'scadenza_pagamenti_uscita' => 'date', ]; /** * Get the logo URL attribute. * * @return string|null */ public function getLogoUrlAttribute() { if ($this->logo) { return asset('storage/' . $this->logo); } return null; } /** * Get a formatted list of discipline names. * * @return string */ public function getDisciplineListAttribute() { return $this->disciplines->pluck('name')->implode(', '); } }