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/CanPollRecords.php

<?php

namespace Filament\Tables\Table\Concerns;

use Closure;

trait CanPollRecords
{
    protected string | Closure | null $pollingInterval = null;

    public function poll(string | Closure | null $interval = '10s'): static
    {
        $this->pollingInterval = $interval;

        return $this;
    }

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

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