ACF Composer - Can't expose function in balde

Hi, I want use Acf Builder with Sage 10.

I generate a file field via acorn: (Options/Example.php).

The documentation indicates that to access the field in the view, you must return to a with function. Unfortunately this doesn’t work, any idea?

public function with() {
  return [
'fieldOne' => get_field('fieldOne', 'option')
]
}
public function fields()
    {

        $general = new FieldsBuilder('general');
        $general
            ->addTab('General')
                    ->addText('fieldOne');

        return $general->build();

    }

Fields/Option Pages don’t use views – you would create your own logic (e.g. in a composer or component) and call the values as you usually would with get_field().