]> Raphaël G. Git Repositories - airlibre/commitdiff
Remove src ressources
authorRaphaël Gertz <git@rapsys.eu>
Wed, 31 Jan 2024 22:53:27 +0000 (23:53 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 31 Jan 2024 22:53:27 +0000 (23:53 +0100)
config/packages/doctrine.yaml
config/routes/annotations.yaml
config/services.yaml
src/DataFixtures/AppFixtures.php [deleted file]

index c052bb0b6fbe83cf2679f7f646ad5ae0b6af68ae..22c94c3be84a6171b5890e8b693ea7bd9f227fc7 100644 (file)
@@ -14,10 +14,3 @@ doctrine:
         auto_generate_proxy_classes: true
         naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
         auto_mapping: true
-        mappings:
-            App:
-                is_bundle: false
-                type: annotation
-                dir: '%kernel.project_dir%/src/Entity'
-                prefix: 'App\Entity'
-                alias: App
index d49a502a8480359a261d66d1f4096453d608e7b7..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,3 +0,0 @@
-controllers:
-    resource: ../../src/Controller/
-    type: annotation
index ef07b7601874c079c5650c3ebfa451b134beedd0..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,25 +0,0 @@
-# This file is the entry point to configure your own services.
-# Files in the packages/ subdirectory configure your dependencies.
-
-# Put parameters here that don't need to change on each machine where the app is deployed
-# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
-parameters:
-
-services:
-    # default configuration for services in *this* file
-    _defaults:
-        autowire: true      # Automatically injects dependencies in your services.
-        autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.
-
-    # makes classes in src/ available to be used as services
-    # this creates a service per class whose id is the fully-qualified class name
-    App\:
-        resource: '../src/'
-        exclude:
-            - '../src/DependencyInjection/'
-            - '../src/Entity/'
-            - '../src/Kernel.php'
-            - '../src/Tests/'
-
-    # add more service definitions when explicit configuration is needed
-    # please note that last definitions always *replace* previous ones
diff --git a/src/DataFixtures/AppFixtures.php b/src/DataFixtures/AppFixtures.php
deleted file mode 100644 (file)
index 6c20526..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-
-namespace App\DataFixtures;
-
-use Doctrine\Bundle\FixturesBundle\Fixture;
-use Doctrine\Persistence\ObjectManager;
-
-class AppFixtures extends Fixture
-{
-    public function load(ObjectManager $manager)
-    {
-        // $product = new Product();
-        // $manager->persist($product);
-
-        $manager->flush();
-    }
-}