Duffer Derek

Current Path : /home/webg5288/www/laravel_kendal/vendor/filament/tables/src/Table/Concerns/
Upload File :
Current File : /home/webg5288/www/laravel_kendal/vendor/filament/tables/src/Table/Concerns/CanBeStriped.php

<?php

namespace Filament\Tables\Table\Concerns;

use Closure;

trait CanBeStriped
{
    protected bool | Closure $isStriped = false;

    public function striped(bool | Closure $condition = true): static
    {
        $this->isStriped = $condition;

        return $this;
    }

    public function isStriped(): bool
    {
        return (bool) $this->evaluate($this->isStriped);
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists