__construct() __construct(string $name = null) Constructor Instantiate a memory handler object Parameters string $name
setName() setName(string $name) : \Pop\Debug\Handler\AbstractHandler Set name Parameters string $name Returns \Pop\Debug\Handler\AbstractHandler
updateMemoryUsage() updateMemoryUsage(boolean $real = false) : self Take a memory usage snapshot Parameters boolean $real Returns self
hasUsages() hasUsages() : boolean Determine if the handler has memory usages snapshots Returns boolean
updatePeakMemoryUsage() updatePeakMemoryUsage(boolean $real = false) : self Take a peak memory usage snapshot Parameters boolean $real Returns self
hasPeakUsages() hasPeakUsages() : boolean Determine if the handler has peak memory usages snapshots Returns boolean
formatMemoryToString() formatMemoryToString(integer $memory, integer $bytes = 1024) : string Format memory amount into readable string Parameters integer $memory integer $bytes Returns string
formatMemoryToInt() formatMemoryToInt(integer $memory, integer $bytes = 1024) : integer Format memory amount into integer Parameters integer $memory integer $bytes Returns integer