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 Hooks

Namespace: ICanBoogie
Located at Hooks.php

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\Application $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\Application $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\Application\ClearCacheEvent $event, ICanBoogie\Application $app )

Clears configurations cache.

Clears configurations cache.

Parameters

$event
$app
ICanBoogie 4.0.x – Check on GitHub – API documentation generated by ApiGen