Hallo,
wie schaffe ich es das mir zb die dca Files in den eigenen Modulen keine Fehler wie
Code:
The autoloader expected class "AppBundle\Resources\contao\dca\tl_testtable" to be defined in file "../../src/AppBundle\Resources\contao\dca\tl_testtable.php". The file was found but the class was not in it, the class name or namespace probably has a typo in app/config\services.yml (which is being imported from "app/config\config.yml").
bin zu dem schluss gekommen ich muss den Ordner vom autoloading ausnehmen.
Code:
"autoload": {
"psr-4": {
"AppBundle\\": "src/AppBundle"
},
"classmap": [
"app/AppKernel.php",
"app/AppCache.php",
"!src/AppBundle/Resources/contao"
],
"exclude-from-classmap": [
"src/AppBundle/Resources/contao"
]
},
hoffe jemand hat ne Idee
danke,
lg,
fakerer
Lesezeichen