ProvidesMemorySamples
API reference › Debug › panels › ProvidesMemorySamples
Implemented by 2 types
Contract for panels that feed the Profiling timeline memory graph.
ProfilingPanel plots its own samples and appends those of the panel registered under the log id when that
panel implements this interface, so a replacement Log panel keeps contributing readings to the graph.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
getMemorySamples() abstract | Returns the memory readings this panel contributes to the Timeline graph. | ProvidesMemorySamples |
Method details
Section titled “Method details”getMemorySamples()
Section titled “getMemorySamples() ”abstract public function getMemorySamples(): list<PHPForge\Debug\Panel\MemorySample>Returns the memory readings this panel contributes to the Timeline graph.
Returns
list<PHPForge\Debug\Panel\MemorySample>: Samples in capture order.