src/Weew/Container/Resolver.php
public function getWildcard(IDefinition $definition, $id, $args) {
        $abstract = $definition->getValue();
        $args['abstract'] = $id;
        $instance = $this->resolveAbstract($abstract, $args);
        $this->matchClassType($id, $instance);

        return $instance;
    }
public function getWildcard(IDefinition $definition, $id, $args) {
        $abstract = $definition->getValue();
        $args['abstract'] = $id;
        $instance = $this->resolveAbstract($abstract, $args);
        $this->matchClassType($id, $instance);

        return $instance;
    }
@param IDefinition $definition
@param $id
@param $args

@return mixed|null
@throws TypeMismatchException