src/grid/BillGridView.php
public function objectLink(Bill $model): string
    {
        return $model->class === 'device'
            ? Html::a($model->object, ['@server/view', 'id' => $model->object_id])
            : Html::tag('b', $model->object);
    }
public function objectLink(Bill $model): string
    {
        return $model->class === 'device'
            ? Html::a($model->object, ['@server/view', 'id' => $model->object_id])
            : Html::tag('b', $model->object);
    }
public function objectLink ( Bill $ model ) : string { return $ model -> class === 'device' ? Html :: a ( $ model -> object , [ '@server/view' , 'id' => $ model -> object_id ] ) : Html :: tag ( 'b' , $ model -> object ) ; }
Creates link to object details page.

@param Bill $model
@return string
Creates link to object details page .