@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Encrypter configuration includes only environment specific encryption key. Spiral encrypter |
|
4 | - * can in addition read encryption method if such option were specified. |
|
5 | - */ |
|
3 | + * Encrypter configuration includes only environment specific encryption key. Spiral encrypter |
|
4 | + * can in addition read encryption method if such option were specified. |
|
5 | + */ |
|
6 | 6 | return [ |
7 | 7 | 'key' => '' |
8 | 8 | ]; |
9 | 9 | \ No newline at end of file |
@@ -1,18 +1,18 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Http dispatcher configuration. Includes: |
|
4 | - * - base application path |
|
5 | - * - isolation mode, when isolation is enable http component will handle all inner exceptions using |
|
6 | - * snapshots, in opposite case exceptions will be passed on higher level and can be handled |
|
7 | - * using default exception handler, when isolation is turned off some middlewares may not |
|
8 | - * finish their work |
|
9 | - * - exposeErrors flag, if true snapshots will be rendered to client |
|
10 | - * - CookieManager middleware settings, default domain and protection method |
|
11 | - * - headers for initial http response |
|
12 | - * - set of default middlewares to to applied to every request and response |
|
13 | - * - default router class and settings |
|
14 | - * - association between http errors and view name to be used to render them to client |
|
15 | - */ |
|
3 | + * Http dispatcher configuration. Includes: |
|
4 | + * - base application path |
|
5 | + * - isolation mode, when isolation is enable http component will handle all inner exceptions using |
|
6 | + * snapshots, in opposite case exceptions will be passed on higher level and can be handled |
|
7 | + * using default exception handler, when isolation is turned off some middlewares may not |
|
8 | + * finish their work |
|
9 | + * - exposeErrors flag, if true snapshots will be rendered to client |
|
10 | + * - CookieManager middleware settings, default domain and protection method |
|
11 | + * - headers for initial http response |
|
12 | + * - set of default middlewares to to applied to every request and response |
|
13 | + * - default router class and settings |
|
14 | + * - association between http errors and view name to be used to render them to client |
|
15 | + */ |
|
16 | 16 | use Spiral\Http; |
17 | 17 | use Spiral\Http\Middlewares; |
18 | 18 |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Configuration of Migrator component (located in Database component), includes: |
|
4 | - * - directory to store migrations in |
|
5 | - * - database to store information about executed migrations |
|
6 | - * - table to store information about executed migrations |
|
7 | - * - list of environments where migration commands allowed to run without user confirmation |
|
8 | - */ |
|
3 | + * Configuration of Migrator component (located in Database component), includes: |
|
4 | + * - directory to store migrations in |
|
5 | + * - database to store information about executed migrations |
|
6 | + * - table to store information about executed migrations |
|
7 | + * - list of environments where migration commands allowed to run without user confirmation |
|
8 | + */ |
|
9 | 9 | return [ |
10 | 10 | 'directory' => 'database/migrations', |
11 | 11 | 'database' => 'default', |
@@ -1,13 +1,13 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * ODM component configuration and mapping. |
|
4 | - * - default database alias/name |
|
5 | - * - list of database name aliases used for injections and other operations |
|
6 | - * - list of mongo databases associated with their server, name, profiling mode and options |
|
7 | - * - ODM SchemaBuilder configuration |
|
8 | - * - set of default mutators associated with field type |
|
9 | - * - mutator aliases to be used in model definitions |
|
10 | - */ |
|
3 | + * ODM component configuration and mapping. |
|
4 | + * - default database alias/name |
|
5 | + * - list of database name aliases used for injections and other operations |
|
6 | + * - list of mongo databases associated with their server, name, profiling mode and options |
|
7 | + * - ODM SchemaBuilder configuration |
|
8 | + * - set of default mutators associated with field type |
|
9 | + * - mutator aliases to be used in model definitions |
|
10 | + */ |
|
11 | 11 | use Spiral\ODM\Accessors\ScalarArray; |
12 | 12 | use Spiral\ODM\Entities\MongoDatabase; |
13 | 13 | use Spiral\ODM\ODM; |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * ORM configuration and mapping. |
|
4 | - * - default state of entity cache and it's maxium size |
|
5 | - * - mutators to be automatically applied to record fields based on it's type |
|
6 | - * - mutator aliases to be used in model definitions |
|
7 | - * - relation classes including schema generators, loaders and relation representers |
|
8 | - */ |
|
3 | + * ORM configuration and mapping. |
|
4 | + * - default state of entity cache and it's maxium size |
|
5 | + * - mutators to be automatically applied to record fields based on it's type |
|
6 | + * - mutator aliases to be used in model definitions |
|
7 | + * - relation classes including schema generators, loaders and relation representers |
|
8 | + */ |
|
9 | 9 | use Spiral\ORM\Entities; |
10 | 10 | use Spiral\ORM\RecordEntity; |
11 | 11 |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * SessionStore configuration. |
|
4 | - * - default session lifetime |
|
5 | - * - default session handler to be used, use "native" to use php sessions |
|
6 | - * - list of handlers associated with their class and custom options |
|
7 | - */ |
|
3 | + * SessionStore configuration. |
|
4 | + * - default session lifetime |
|
5 | + * - default session handler to be used, use "native" to use php sessions |
|
6 | + * - list of handlers associated with their class and custom options |
|
7 | + */ |
|
8 | 8 | use Spiral\Session\Handlers; |
9 | 9 | |
10 | 10 | return [ |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Configuration of StorageManager components with it's servers and containers. |
|
4 | - * - list of servers with their adapter class and options to associated with buckets |
|
5 | - * - list of buckets with their server id, prefix value and adapter specific options |
|
6 | - */ |
|
3 | + * Configuration of StorageManager components with it's servers and containers. |
|
4 | + * - list of servers with their adapter class and options to associated with buckets |
|
5 | + * - list of buckets with their server id, prefix value and adapter specific options |
|
6 | + */ |
|
7 | 7 | use Spiral\Storage\Servers; |
8 | 8 | |
9 | 9 | return [ |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Spiral tokenizer component configuration, includes only black and white listed directories to |
|
4 | - * be indexed. |
|
5 | - */ |
|
3 | + * Spiral tokenizer component configuration, includes only black and white listed directories to |
|
4 | + * be indexed. |
|
5 | + */ |
|
6 | 6 | return [ |
7 | 7 | 'directories' => [ |
8 | 8 | 'classes' |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Translator component options. |
|
4 | - * - default language to be used |
|
5 | - * - bundle name to store plural phrases |
|
6 | - * - language options, including bundle storage directory (memory location) and pluralizer class |
|
7 | - */ |
|
3 | + * Translator component options. |
|
4 | + * - default language to be used |
|
5 | + * - bundle name to store plural phrases |
|
6 | + * - language options, including bundle storage directory (memory location) and pluralizer class |
|
7 | + */ |
|
8 | 8 | use Spiral\Translator\Pluralizers; |
9 | 9 | |
10 | 10 | return [ |