private function resolveParameters($parameters, $data, $labels = false)
    {
        $resolved = [];
        /** @var ReflectionParameter $reflectionParameter */
        foreach ($parameters as $reflectionParameter) {
            /** @noinspection PhpAssignmentInConditionInspection */
            $parameter = $this->parseParameter($reflectionParameter, $data, $labels);
            if (!is_null($parameter)) {
                $resolved[] = $parameter;
                continue;
            }
            /** @noinspection PhpAssignmentInConditionInspection */
            if ($parameterClassName = $this->extractClassName($reflectionParameter)) {
                $resolved[] = static::make($parameterClassName);
                continue;
            }
            $resolved[] = null;
        }
        return $resolved;
    }
private function resolveParameters($parameters, $data, $labels = false)
    {
        $resolved = [];
        /** @var ReflectionParameter $reflectionParameter */
        foreach ($parameters as $reflectionParameter) {
            /** @noinspection PhpAssignmentInConditionInspection */
            $parameter = $this->parseParameter($reflectionParameter, $data, $labels);
            if (!is_null($parameter)) {
                $resolved[] = $parameter;
                continue;
            }
            /** @noinspection PhpAssignmentInConditionInspection */
            if ($parameterClassName = $this->extractClassName($reflectionParameter)) {
                $resolved[] = static::make($parameterClassName);
                continue;
            }
            $resolved[] = null;
        }
        return $resolved;
    }
private function resolveParameters ( $ parameters , $ data , $ labels = false ) { $ resolved = [ ] ; /** @var ReflectionParameter $reflectionParameter */ foreach ( $ parameters as $ reflectionParameter ) { /** @noinspection PhpAssignmentInConditionInspection */ $ parameter = $ this -> parseParameter ( $ reflectionParameter , $ data , $ labels ) ; if ( ! is_null ( $ parameter ) ) { $ resolved [ ] = $ parameter ; continue ; } /** @noinspection PhpAssignmentInConditionInspection */ if ( $ parameterClassName = $ this -> extractClassName ( $ reflectionParameter ) ) { $ resolved [ ] = static :: make ( $ parameterClassName ) ; continue ; } $ resolved [ ] = null ; } return $ resolved ; }
Generate a list of values to be used like parameters to one method or function

@param $parameters
@param $data
@param bool $labels
@return array
@throws SimplesRunTimeError
Generate a list of values to be used like parameters to one method or function