private function getFunctionArguments(array $paramMap, array $matches, array $parameters) : array
    {
        $output  = [];
        $matches = array_values($matches);

        foreach ($parameters as $valueName) {
            foreach ($paramMap as $possition => $value) {
                if ($value == $valueName[1][0]) {
                    $output[] = $matches[$possition];
                }
            }
        }

        return $output;
    }