Back to Profiler class

Method getBuffer

public array
getBuffer
()
Get all profiler mark buffers.
Returns
  • array Array of profiler marks
Since
  • 1.7.0
Class: Profiler
Project: Joomla

Method getBuffer - Source code

/**
 * Get all profiler mark buffers.
 *
 * Returns an array of all mark buffers created since the Profiler object
 * was instantiated.  Marks are strings as per {@link Profiler::mark()}.
 *
 * @return  array  Array of profiler marks
 *
 * @since   1.7.0
 */
public function getBuffer()
{
    return $this->buffer;
}