custom ation column
This commit is contained in:
@ -8,8 +8,11 @@ abstract class ActionColumn
|
||||
protected string $prefix;
|
||||
|
||||
protected int $id;
|
||||
public function __construct(string $baseUrl, int $id)
|
||||
public function __construct(string $baseUrl, int $id, string $prefix = '')
|
||||
{
|
||||
if (!empty($prefix)){
|
||||
$this->prefix = $prefix;
|
||||
}
|
||||
$this->baseUrl = $baseUrl;
|
||||
$this->id = $id;
|
||||
}
|
||||
|
Reference in New Issue
Block a user