Model/Column.php
public function renderValue($object, array $options = []): string
    {
        $options = array_merge(
            ['column' => $this, 'object' => $object],
            $this->getFormattingOptions(),
            $options
        );
        $accessor = PropertyAccess::createPropertyAccessor();
        try {
            $value = $accessor->getValue($object, $this->getPropertyPath());
        } catch (UnexpectedTypeException $e) {
            return '';
        }

        return $this->getValueRenderer()->renderValue($value, $options);
    }
public function renderValue($object, array $options = []): string
    {
        $options = array_merge(
            ['column' => $this, 'object' => $object],
            $this->getFormattingOptions(),
            $options
        );
        $accessor = PropertyAccess::createPropertyAccessor();
        try {
            $value = $accessor->getValue($object, $this->getPropertyPath());
        } catch (UnexpectedTypeException $e) {
            return '';
        }

        return $this->getValueRenderer()->renderValue($value, $options);
    }
public function renderValue ( $ object , array $ options = [ ] ) : string { $ options = array_merge ( [ 'column' => $ this , 'object' => $ object ] , $ this -> getFormattingOptions ( ) , $ options ) ; $ accessor = PropertyAccess :: createPropertyAccessor ( ) ; try { $ value = $ accessor -> getValue ( $ object , $ this -> getPropertyPath ( ) ) ; } catch ( UnexpectedTypeException $ e ) { return '' ; } return $ this -> getValueRenderer ( ) -> renderValue ( $ value , $ options ) ; }
Render column for a given result

@param mixed $object
@param array $options

@return string
Render column for a given result