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;
    }
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;
    }
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 ; }
Returns a string representing the last invoked method.

This method is intend to return a string representing the last invoked method,
including any arguments.

@author Benjamin Carl <opensource@clickalicious.de>

@return string The last invoked message
Returns a string representing the last invoked method .