/** * @param DataObjectInterface $data * @param array|null $settings * @param ProcessorInterface $processor */ public function __construct(DataObjectInterface $data, array $settings = null, ProcessorInterface $processor = null) { parent::__construct($data, $settings, $processor); $this->files = app(Filesystem::class); $this->laravel = app(Application::class); }
/** * @param DataObjectInterface $data * @param array|null $settings * @param ProcessorInterface $processor */ public function __construct(DataObjectInterface $data, array $settings = null, ProcessorInterface $processor = null) { parent::__construct($data, $settings, $processor); $this->fieldType = new FieldType(); }