Your IP : 216.73.217.13


Current Path : /var/www/surf/TYPO3/src/surf/Configuration/ExtensionBuilder/
Upload File :
Current File : /var/www/surf/TYPO3/src/surf/Configuration/ExtensionBuilder/settings.yaml

#
# Extension Builder settings for extension surf
# generated 2023-07-09T10:13:34Z
#
# See http://www.yaml.org/spec/1.2/spec.html
#

---

#############  Overwrite settings  ###########
#
# These settings only apply, if the roundtrip feature of the extension builder
# is enabled in the extension manager
#
# Usage:
# nesting reflects the file structure
# a setting applies to a file or recursive to all files and subfolders
#
# merge:
#   means for classes: All properties ,methods and method bodies
#   of the existing class will be modified according to the new settings
#   but not overwritten
#
#   for locallang xlf files: Existing keys and labels are always
#   preserved (renaming a property or DomainObject will result in new keys and new labels)
#
#   for other files: You will find a Split token at the end of the file
#   see: \EBT\ExtensionBuilder\Service\RoundTrip::SPLIT_TOKEN
#
#   After this token you can write whatever you want and it will be appended
#   everytime the code is generated
#
# keep:
#   files are never overwritten
#   These settings may break the functionality of the extension builder!
#   Handle with care!
#

#############  Extension settings  ###########

overwriteSettings:
  Classes:
    Controller: merge
    Domain:
      Model: merge
      Repository: merge

  Configuration:
    #TCA merge not possible - use overrides directory
    #TypoScript: keep

  Resources:
    Private:
      #Language: merge
      #Layouts: keep
      #Partials: keep
      #Templates: keep
      Backend:
        #Layouts: keep
        #Partials: keep
        #Templates: keep

  user_extension.svg: keep
#  ext_localconf.php: merge
#  ext_tables.php: merge
#  ext_tables.sql: merge

## add declare strict types in php files
declareStrictTypes: true

## use static date attribute in xliff files
#staticDateInXliffFiles: '2023-07-09T10:13:34Z'

## skip docComment (license header)
#skipDocComment: false

## list of error codes for warnings that should be ignored
#ignoreWarnings:
  #503

#############  settings for classBuilder  #######################
#
# here you may define default parent classes for your classes
# these settings only apply for new generated classes
# you may also just change the parent class in the generated class file.
# It will be kept on next code generation, if the overwrite settings
# are configured to merge it
#
#################################################################

classBuilder:

  Controller:
    parentClass: \TYPO3\CMS\Extbase\Mvc\Controller\ActionController

  Model:
    AbstractEntity:
      parentClass: \TYPO3\CMS\Extbase\DomainObject\AbstractEntity

    AbstractValueObject:
      parentClass: \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject

  Repository:
    parentClass: \TYPO3\CMS\Extbase\Persistence\Repository

  setDefaultValuesForClassProperties: true