for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Sco\Admin\Column;
use JsonSerializable;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Contracts\Support\Jsonable;
use Sco\Admin\Contracts\Column\Column as ColumnContract;
class IvuColumn extends Column implements ColumnContract, Arrayable, Jsonable, JsonSerializable
{
protected $defaults = [
'fixed' => false,
];
public function toArray()
$column = [
'fixed' => $this->getAttribute('fixed')
$render = $this->getAttribute('render');
if ($render) {
$column['render'] = $render;
}
return array_merge(parent::toArray(), $column);