app\models\Artist::getImageAttribute PHP Метод

getImageAttribute() публичный Метод

Turn the image name into its absolute URL.
public getImageAttribute ( mixed $value ) : string | null
$value mixed
Результат string | null
    public function getImageAttribute($value)
    {
        return $value ? app()->staticUrl("public/img/artists/{$value}") : null;
    }