class ContainerUtil

Methods

static 
wrapCallback($callback, Container $container)

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

Details

static wrapCallback($callback, Container $container)

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

Parameters

$callback
Container $container