ICanBoogie
  • Documentation
  • API Reference
  • ICanBoogie 3.1.x
Namespaces
  • ICanBoogie
    • Autoconfig
    • Binding
    • Core
    • Routing
    • Session
Classes
  • AlreadyAuthenticated
  • Core
  • Debug
  • Helpers
  • Hooks
  • Logger
  • LogLevel
  • SessionWithEvent
Interfaces
  • LoggerInterface
Traits
  • AppAccessor
  • LoggerTrait
Exceptions
  • CoreAlreadyBooted
  • CoreAlreadyInstantiated
  • CoreAlreadyRunning
  • CoreNotInstantiated

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\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
ICanBoogie 3.1.x – Check on GitHub – API documentation generated by ApiGen