WordPress at a glance
function is not described

Automattic\WooCommerce\Vendor\League\Container\Definition

Definition::resolveClass() protected WC 1.0

Resolve a class.

{} It's a method of the class: Definition{}

No Hooks.

Return

Object.

Usage

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

Code of Definition::resolveClass() WC 5.0.0

<?php
protected function resolveClass(string $concrete)
{
    $resolved   = $this->resolveArguments($this->arguments);
    $reflection = new ReflectionClass($concrete);

    return $reflection->newInstanceArgs($resolved);
}