Ejemplo n.º 1
0
 /**
  * @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);
 }
Ejemplo n.º 2
0
 /**
  * @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();
 }