mirror of
https://github.com/kevinpapst/kimai2.git
synced 2025-05-02 00:10:00 +00:00

* use html5 email validation * remove static cache seed, for compatibility with non default (file based) caches * added caching ConfigurationService, removed use of doctrine result cache * simplify configuration API
29 lines
1 KiB
YAML
29 lines
1 KiB
YAML
parameters:
|
|
locale: en
|
|
app_locales: ar|cs|de|de_CH|da|en|eo|es|eu|fr|he|hu|it|ja|ko|nl|pl|pt_BR|ro|ru|sk|sv|tr|vi|zh_CN
|
|
|
|
services:
|
|
_defaults:
|
|
public: true
|
|
|
|
App\Configuration\SystemConfiguration:
|
|
arguments: ['@App\Configuration\ConfigurationService', "%kimai.config%"]
|
|
|
|
# required for the importer command test
|
|
App\Repository\UserRepository:
|
|
class: Doctrine\ORM\EntityRepository
|
|
factory: ['@doctrine.orm.entity_manager', getRepository]
|
|
arguments: ['App\Entity\User']
|
|
|
|
# required for the importer command test
|
|
App\Importer\ImporterService:
|
|
public: true
|
|
arguments: ['@App\Customer\CustomerService', '@App\Project\ProjectService']
|
|
|
|
App\User\UserService:
|
|
public: true
|
|
arguments: ['@App\Repository\UserRepository', '@event_dispatcher', '@validator', '@App\Configuration\SystemConfiguration', '@security.user_password_hasher']
|
|
|
|
App\Plugin\PluginManager:
|
|
public: true
|
|
arguments: [!tagged kimai.plugin]
|