<?php

/*
 * This file is part of Swoft.
 * (c) Swoft <group@swoft.org>
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

return [
    'env'          => env('APP_ENV', 'test'),
    'debug'        => env('APP_DEBUG', true),
    'version'      => '1.0',
    'autoInitBean' => true,
    'bootScan'     => [
        'App\Commands',
        'App\Boot',
        'App\Listener'
    ],
    'excludeScan'  => [

    ],
    'I18n'         => [
        'sourceLanguage' => '@root/resources/messages/',
    ],
    'db'           => require __DIR__ . DS . 'db.php',
    'cache'        => require __DIR__ . DS . 'cache.php',
    'service'      => require __DIR__ . DS . 'service.php',
    'breaker'      => require __DIR__ . DS . 'breaker.php',
    'provider'     => require __DIR__ . DS . 'provider.php',
    'devtool'      => [
        'enable' =>false,
        'logEventToConsole' =>  true,
        'logHttpRequestToConsole' => true
    ],
    'components'   => [
        'custom'   => [
        ]
    ],

];
