swagger-php icon indicating copy to clipboard operation
swagger-php copied to clipboard

`Doctrine\DBAL\Types\VarDateTimeImmutableType` not found

Open VladimirCreator opened this issue 1 year ago • 1 comments

Error: Class "Doctrine\DBAL\Types\VarDateTimeImmutableType" not found in .../vendor/carbonphp/carbon-doctrine-types/src/Carbon/Doctrine/DateTimeImmutableType.php:8

what does it even mean?

VladimirCreator avatar Mar 30 '24 19:03 VladimirCreator

Looks like your classloader is not set up correctly - unlikely to be an issue with swagger-php itself. swagger-php requires classloading in order to be able to use reflection to inspect the PHP code it is scanning. A couple of issues around class loading are explained in the FAQ.

DerManoMann avatar Apr 14 '24 04:04 DerManoMann