class ContainerUtil

Methods

static 
wrapCallback($callback, Container $container)

Wraps a callback so that string-based invokable classes get resolved only when actually used.

Details

static wrapCallback($callback, Container $container)

Wraps a callback so that string-based invokable classes get resolved only when actually used.

Parameters

$callback
Container $container