atk4\data\Field::__debugInfo PHP Method

__debugInfo() public method

Returns array with useful debug info for var_dump.
public __debugInfo ( ) : array
return array
    public function __debugInfo()
    {
        $arr = ['short_name' => $this->short_name, 'value' => $this->get()];
        foreach (['type', 'system', 'never_persist', 'never_save', 'read_only', 'ui', 'join'] as $key) {
            if (isset($this->{$key})) {
                $arr[$key] = $this->{$key};
            }
        }
        return $arr;
    }