hesabixCore/hesabixCore/config/services.yaml

52 lines
2 KiB
YAML
Raw Normal View History

2023-01-17 10:33:36 +03:30
# 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:
2023-09-21 23:04:08 +03:30
blogMediaDir: '%kernel.project_dir%/../public_html/blog/media'
2023-11-21 16:04:45 +03:30
archiveMediaDir: '%kernel.project_dir%/../hesabixArchive'
archiveTempMediaDir: '%kernel.project_dir%/../hesabixArchive/temp'
2023-01-17 10:33:36 +03:30
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'
# add more service definitions when explicit configuration is needed
# please note that last definitions always *replace* previous ones
2023-09-21 23:04:08 +03:30
Jdate:
class: App\Service\Jdate
2024-05-22 20:31:31 +03:30
Exctractor:
class: App\Service\Exctractor
2023-09-21 23:04:08 +03:30
Log:
class: App\Service\Log
arguments: [ "@doctrine.orm.entity_manager" ]
SMS:
class: App\Service\SMS
arguments:
$entityManager: "@doctrine.orm.entity_manager"
Provider:
class: App\Service\Provider
arguments: [ "@doctrine.orm.entity_manager" ]
Blog:
class: App\Service\Blog
arguments: [ "@doctrine.orm.entity_manager" ]
twigFunctions:
class: App\Service\twigFunctions
arguments: [ "@doctrine.orm.entity_manager" ]
registryMGR:
class: App\Service\registryMGR
2024-06-27 18:20:46 +03:30
arguments: [ "@doctrine.orm.entity_manager" ]
Printers:
class: App\Service\Printers
2024-06-01 19:11:40 +03:30
arguments: [ "@doctrine.orm.entity_manager" ]