You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
447 B
21 lines
447 B
<?php
|
|
namespace App\Admin\Actions\Lazy;
|
|
|
|
use Dcat\Admin\Grid;
|
|
use Dcat\Admin\Grid\LazyRenderable;
|
|
|
|
class CsInfo extends LazyRenderable
|
|
{
|
|
public function grid(): Grid
|
|
{
|
|
return Grid::make(new \App\Admin\Repositories\v3\CsInfo(),function (Grid $grid){
|
|
$grid->name;
|
|
});
|
|
}
|
|
|
|
public function render()
|
|
{
|
|
dd($this->id);
|
|
return parent::render(); // TODO: Change the autogenerated stub
|
|
}
|
|
}
|