Files
clinicpro/config/services.yaml
T
hamed 06ab875693 feat: enhance RepresentationsPage with searchable city filter and form improvements
- Updated RepresentationsPage to use SearchableSelect for city filtering.
- Modified form handling to use Controller from react-hook-form for city selection.
- Improved city filter handling to support null values.
- Added city_id to Representation interface in types.
- Implemented uploadLogo endpoint in CategoryController for logo uploads.
- Added logo_url field to Category entity and updated related services.
- Created SearchableSelect component for better user experience in selecting options.
- Added migration to include logo_url in categories table.
2026-06-10 13:02:47 +03:30

80 lines
2.7 KiB
YAML

# yaml-language-server: $schema=../vendor/symfony/dependency-injection/Loader/schema/services.schema.json
# This file is the entry point to configure your own services.
# Files in the packages/ subdirectory configure your dependencies.
# See also https://symfony.com/doc/current/service_container/import.html
# 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/'
App\Doctor\Controller\DoctorController:
arguments:
$projectDir: '%kernel.project_dir%'
App\Clinic\Controller\ClinicController:
arguments:
$projectDir: '%kernel.project_dir%'
App\Auth\Service\OtpService:
arguments:
$otpTtl: '%env(int:OTP_TTL)%'
$appEnv: '%kernel.environment%'
App\Auth\Service\TokenService:
arguments:
$refreshTokenTtl: '%env(int:REFRESH_TOKEN_TTL)%'
App\Auth\Security\PasswordAuthenticator:
arguments:
$refreshTokenTtl: '%env(int:REFRESH_TOKEN_TTL)%'
$loginLimiter: '@limiter.login'
App\Auth\Controller\AuthController:
arguments:
$sendCodeLimiter: '@limiter.send_code'
App\Payment\Gateway\MellatGateway:
arguments:
$terminalId: '%env(MELLAT_TERMINAL_ID)%'
$username: '%env(MELLAT_USERNAME)%'
$password: '%env(MELLAT_PASSWORD)%'
App\Payment\Gateway\SepGateway:
arguments:
$terminalId: '%env(SEP_TERMINAL_ID)%'
App\Payment\Controller\PaymentController:
arguments:
$appBaseUrl: '%env(APP_BASE_URL)%'
$allowedFrontendHosts: '%env(ALLOWED_FRONTEND_HOSTS)%'
App\Sms\Provider\KavehNegarProvider:
arguments:
$apiKey: '%env(KAVENEGAR_API_KEY)%'
$sender: '%env(KAVENEGAR_SENDER)%'
App\Sms\Provider\RanginehProvider:
arguments:
$apiKey: '%env(RANGINEH_API_KEY)%'
$sender: '%env(RANGINEH_SENDER)%'
App\Blog\Controller\BlogController:
arguments:
$projectDir: '%kernel.project_dir%'
App\Category\Controller\CategoryController:
arguments:
$projectDir: '%kernel.project_dir%'