Class Hooks
Methods summary
public static
make_apc_prefix( void )
: string
Makes an APC prefix for the application.
Makes an APC prefix for the application.
Returns
string
public static
create_storage_for_configs( ICanBoogie\Core
$app
)
: ICanBoogie\Storage\Storage
Creates a storage engine for synthesized configurations.
Creates a storage engine for synthesized configurations.
If APC is available the method returns a storage collection or ICanBoogie\Storage\APCStorage and ICanBoogie\Storage\FileStorage, otherwise a ICanBoogie\Storage\FileStorage is returned.
Parameters
$app
Returns
ICanBoogie\Storage\Storage
public static
create_storage_for_vars( ICanBoogie\Core
$app
)
: ICanBoogie\Storage\Storage
Creates a storage engine for synthesized configurations.
Creates a storage engine for synthesized configurations.
If APC is available the method returns a storage collection or ICanBoogie\Storage\APCStorage and ICanBoogie\Storage\FileStorage, otherwise a ICanBoogie\Storage\FileStorage is returned.
Parameters
$app
Returns
ICanBoogie\Storage\Storage
public static
on_clear_cache( ICanBoogie\Core\ClearCacheEvent
$event
, ICanBoogie\Core
$app
)
Clears configurations cache.
Clears configurations cache.
Parameters
$event
$app