/** * Serializer constructor. */ public function __construct() { parent::__construct(); $this->addAttributes('partial', 'context'); $this->fields = array_merge($this->generateFields(), $this->generateAppendedFields()); $this->setFields(); }
/** * FileField constructor. */ public function __construct() { parent::__construct(); $this->disk = Config::get('filesystems.default'); }