ICanBoogie/ICanBoogie 4.0.x
  • Namespace
  • Class

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

Constants

  • TOKEN_ALPHA
  • TOKEN_ALPHA_UPCASE
  • TOKEN_NUMERIC
  • TOKEN_SYMBOL
  • TOKEN_SYMBOL_WIDE

Functions

  • app
  • boot
  • excerpt
  • generate_token
  • generate_token_wide
  • get_autoconfig
  • log
  • log_error
  • log_info
  • log_success
  • log_time
  • resolve_app_paths
  • resolve_instance_name
  • strip_root

Class AppConfig

Namespace: ICanBoogie
Located at AppConfig.php

Methods summary

public static array
# synthesize( array $fragments )

Synthesize the app config, from app fragments.

Synthesize the app config, from app fragments.

Parameters

$fragments

Returns

array

Constants summary

string CACHE_CATALOGS

Whether message catalogs should be cached.

Whether message catalogs should be cached.

# 'cache catalogs'
string CACHE_CONFIGS

Whether synthesized configuration fragments should be cached.

Whether synthesized configuration fragments should be cached.

# 'cache configs'
string CACHE_MODULES

Whether module descriptors should be cached.

Whether module descriptors should be cached.

# 'cache modules'
string STORAGE_FOR_CONFIGS

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'
string STORAGE_FOR_VARS

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'
string ERROR_HANDLER

Specify the error handler of the application.

Specify the error handler of the application.

# 'error_handler'
string EXCEPTION_HANDLER

Specify the exception handler of the application.

Specify the exception handler of the application.

# 'exception_handler'
string REPOSITORY

Specify the path to the repository directory.

Specify the path to the repository directory.

# 'repository'
string REPOSITORY_CACHE

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'
string REPOSITORY_CACHE_CONFIGS

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'
string REPOSITORY_FILES

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'
string REPOSITORY_TMP

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'
string REPOSITORY_VARS

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'
string SESSION

Specify session parameters.

Specify session parameters.

# 'session'
ICanBoogie/ICanBoogie 4.0.x API documentation generated by ApiGen