ICanBoogie
  • Documentation
  • API Reference
  • ICanBoogie 4.0.x
Namespaces
  • ICanBoogie
    • Application
    • Autoconfig
    • Binding
    • Routing
    • Session
Classes
  • AlreadyAuthenticated
  • AppConfig
  • Core
  • Debug
  • Helpers
  • Hooks
  • Logger
  • LogLevel
  • SessionWithEvent
Interfaces
  • LoggerInterface
Traits
  • AppAccessor
  • LoggerTrait
Exceptions
  • ApplicationAlreadyBooted
  • ApplicationAlreadyInstantiated
  • ApplicationAlreadyRunning
  • ApplicationNotInstantiated

Class AppConfig

Namespace: ICanBoogie
Located at AppConfig.php

Methods summary

public static synthesize( array $fragments ) : array

Synthesize the app config, from app fragments.

Synthesize the app config, from app fragments.

Parameters

$fragments

Returns

array

Constants summary

CACHE_CATALOGS : string

Whether message catalogs should be cached.

Whether message catalogs should be cached.

'cache catalogs'
CACHE_CONFIGS : string

Whether synthesized configuration fragments should be cached.

Whether synthesized configuration fragments should be cached.

'cache configs'
CACHE_MODULES : string

Whether module descriptors should be cached.

Whether module descriptors should be cached.

'cache modules'
STORAGE_FOR_CONFIGS : string

Specify the storage engine for synthesized configurations.

Specify the storage engine for synthesized configurations.

The value may be a class name or a callable that would create the instance. The callable should have the following signature:

callable(\ICanBoogie\Core $app): \ICanBoogie\Storage\Storage
'storage_for_configs'
STORAGE_FOR_VARS : string

Specify the storage engine for variables.

Specify the storage engine for variables.

The value may be a class name or a callable that would create the instance. The callable should have the following signature:

callable(\ICanBoogie\Core $app): \ICanBoogie\Storage\Storage
'storage_for_vars'
ERROR_HANDLER : string

Specify the error handler of the application.

Specify the error handler of the application.

'error_handler'
EXCEPTION_HANDLER : string

Specify the exception handler of the application.

Specify the exception handler of the application.

'exception_handler'
REPOSITORY : string

Specify the path to the repository directory.

Specify the path to the repository directory.

'repository'
REPOSITORY_CACHE : string

Specify the path to the cache directory.

Specify the path to the cache directory.

The directory does not have to be a sub-folder of REPOSITORY.

Note: {repository} is replaced by the directory specified by REPOSITORY.

'repository/cache'
REPOSITORY_CACHE_CONFIGS : string

Specify the path to the cache/configs directory.

Specify the path to the cache/configs directory.

The directory does not have to be a sub-folder of REPOSITORY.

Note: {repository} is replaced by the directory specified by REPOSITORY.

'repository/cache/configs'
REPOSITORY_FILES : string

Specify the path to the files directory.

Specify the path to the files directory.

The directory does not have to be a sub-folder of REPOSITORY.

Note: {repository} is replaced by the directory specified by REPOSITORY.

'repository/files'
REPOSITORY_TMP : string

Specify the path to the tmp directory.

Specify the path to the tmp directory.

The directory does not have to be a sub-folder of REPOSITORY.

Note: {repository} is replaced by the directory specified by REPOSITORY.

'repository/tmp'
REPOSITORY_VARS : string

Specify the path to the var directory.

Specify the path to the var directory.

The directory does not have to be a sub-folder of REPOSITORY.

Note: {repository} is replaced by the directory specified by REPOSITORY.

'repository/var'
SESSION : string

Specify session parameters.

Specify session parameters.

'session'
ICanBoogie 4.0.x – Check on GitHub – API documentation generated by ApiGen