protected function invokedMethod()
    {
        $result = null;

        // Existing profile profilingDetails ...
        if (null !== $details = $this->getProfilingDetails()) {
            if (true === $this->profileStatic) {
                $scopeResolution = '::';
            } else {
                $scopeResolution = '->';
            }

            if (null !== $this->getProfilingDetails()['arguments']) {
                $arguments = implode(', ', $details['arguments']);
            } else {
                $arguments = '';
            }

            $result = sprintf('%s%s%s("%s")', $details['class'], $scopeResolution, $details['method'], $arguments);
        }

        return $result;
    }