Fatal error: Cannot declare class App\Repository\InventoryRepository, because the name is already in use in /www/htdocs/w01d6451/indema-rest-ikt-ost/src/Repository/_InventoryRepository.php on line 17
Compile Error: Cannot declare class App\Repository\InventoryRepository, because the name is already in use (500 Internal Server Error)

Symfony Exception

FatalError

HTTP 500 Internal Server Error

Compile Error: Cannot declare class App\Repository\InventoryRepository, because the name is already in use

Exception

Symfony\Component\ErrorHandler\Error\ FatalError

  1.  * @method GfcDmLocation|null find($id, $lockMode = null, $lockVersion = null)
  2.  * @method GfcDmLocation|null findOneBy(array $criteria, array $orderBy = null)
  3.  * @method GfcDmLocation[]    findAll()
  4.  * @method GfcDmLocation[]    findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
  5.  */
  6. class InventoryRepository extends ServiceEntityRepository
  7. {
  8.     /**
  9.      * @var EntityManagerInterface
  10.      */
  11.     private $entityManager;

Stack Trace

FatalError
Symfony\Component\ErrorHandler\Error\FatalError:
Compile Error: Cannot declare class App\Repository\InventoryRepository, because the name is already in use

  at /www/htdocs/w01d6451/indema-rest-ikt-ost/src/Repository/_InventoryRepository.php:17