File "HasQueryStringIdentifier.php"
Full Path: /home/tecassol/public_html/tecas-solar.ma/vendor/filament/tables/src/Table/Concerns/HasQueryStringIdentifier.php
File size: 474 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace Filament\Tables\Table\Concerns;
use Closure;
trait HasQueryStringIdentifier
{
protected string | Closure | null $queryStringIdentifier = null;
public function queryStringIdentifier(string | Closure | null $identifier): static
{
$this->queryStringIdentifier = $identifier;
return $this;
}
public function getQueryStringIdentifier(): ?string
{
return $this->evaluate($this->queryStringIdentifier);
}
}