src/Variable/VariableRepository.php
public function presenter($group, $field)
    {
        if (!$group = $this->group($group)) {
            return null;
        }

        return (new Decorator())->decorate($group)->{$field};
    }
public function presenter($group, $field)
    {
        if (!$group = $this->group($group)) {
            return null;
        }

        return (new Decorator())->decorate($group)->{$field};
    }
public function presenter ( $ group , $ field ) { if ( ! $ group = $ this -> group ( $ group ) ) { return null ; } return ( new Decorator ( ) ) -> decorate ( $ group ) -> { $ field } ; }
Get a variable presenter.

@param $group
@param $field
@return FieldTypePresenter|null
Get a variable presenter .