Automattic\WooCommerce\Vendor\League\Container\Definition

Definition::resolveCallable()protectedWC 1.0

Resolve a callable.

Method of the class: Definition{}

No Hooks.

Return

Mixed.

Usage

// protected - for code of main (parent) or child class
$result = $this->resolveCallable( $concrete );
$concrete(callable) (required)
-

Definition::resolveCallable() code WC 7.1.0

protected function resolveCallable(callable $concrete)
{
    $resolved = $this->resolveArguments($this->arguments);

    return call_user_func_array($concrete, $resolved);
}