HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.111.1.lve.el8.x86_64 #1 SMP Fri Mar 13 13:42:17 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/posscale/www/printmanager/vendor/filament/filament/src/Panel/Concerns/HasBrandLogo.php
<?php

namespace Filament\Panel\Concerns;

use Closure;
use Illuminate\Contracts\Support\Htmlable;
use Illuminate\Support\HtmlString;

trait HasBrandLogo
{
    protected string | HtmlString | Closure | null $brandLogo = null;

    protected string | Closure | null $brandLogoHeight = null;

    protected string | HtmlString | Closure | null $darkModeBrandLogo = null;

    public function brandLogo(string | Htmlable | Closure | null $logo): static
    {
        $this->brandLogo = $logo;

        return $this;
    }

    public function brandLogoHeight(string | Closure | null $height): static
    {
        $this->brandLogoHeight = $height;

        return $this;
    }

    public function darkModeBrandLogo(string | Htmlable | Closure | null $logo): static
    {
        $this->darkModeBrandLogo = $logo;

        return $this;
    }

    public function getBrandLogo(): string | Htmlable | null
    {
        return $this->evaluate($this->brandLogo);
    }

    public function getBrandLogoHeight(): ?string
    {
        return $this->evaluate($this->brandLogoHeight);
    }

    public function getDarkModeBrandLogo(): string | Htmlable | null
    {
        return $this->evaluate($this->darkModeBrandLogo);
    }
}