protected function getFullnameColumn()
    {
        return function ($row) {
            $roles = $row->roles;
            $value = [];

            foreach ($roles as $role) {
                $value[] = app('html')->create('span', e($role->name), [
                    'class' => 'label label-info',
                    'role' => 'role',
                ]);
            }

            return implode('', [
                app('html')->create('strong', e($row->fullname)),
                app('html')->create('br'),
                app('html')->create('span', app('html')->raw(implode(' ', $value)), [
                    'class' => 'meta',
                ]),
            ]);
        };
    }
protected function getFullnameColumn()
    {
        return function ($row) {
            $roles = $row->roles;
            $value = [];

            foreach ($roles as $role) {
                $value[] = app('html')->create('span', e($role->name), [
                    'class' => 'label label-info',
                    'role' => 'role',
                ]);
            }

            return implode('', [
                app('html')->create('strong', e($row->fullname)),
                app('html')->create('br'),
                app('html')->create('span', app('html')->raw(implode(' ', $value)), [
                    'class' => 'meta',
                ]),
            ]);
        };
    }
protected function getFullnameColumn ( ) { return function ( $ row ) { $ roles = $ row -> roles ; $ value = [ ] ; foreach ( $ roles as $ role ) { $ value [ ] = app ( 'html' ) -> create ( 'span' , e ( $ role -> name ) , [ 'class' => 'label label-info' , 'role' => 'role' , ] ) ; } return implode ( '' , [ app ( 'html' ) -> create ( 'strong' , e ( $ row -> fullname ) ) , app ( 'html' ) -> create ( 'br' ) , app ( 'html' ) -> create ( 'span' , app ( 'html' ) -> raw ( implode ( ' ' , $ value ) ) , [ 'class' => 'meta' , ] ) , ] ) ; } ; }
Get fullname column for table builder.

@return callable
Get fullname column for table builder .