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 Helpers

Patchable helpers of the ICanBoogie package.

Namespace: ICanBoogie
Located at Helpers.php

Methods summary

public static __callstatic( string $name, array $arguments ) : mixed

Calls the callback of a patchable function.

Calls the callback of a patchable function.

Parameters

$name
Name of the function.
$arguments
Arguments.

Returns

mixed
public static patch( string $name, callable $callback )

Patches a patchable function.

Patches a patchable function.

Parameters

$name
Name of the function.
$callback
Callback.

Throws

RuntimeException
is attempt to patch an undefined function.

Codecoverageignore

Magic methods summary

public static generate_token( integer $length = 8, string $possible = TOKEN_NARROW ) :

Parameters

$length
$possible

Returns

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